aboutsummaryrefslogtreecommitdiff
path: root/module/global.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-04-30 18:18:23 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-04-30 18:18:23 +0200
commit3fe27b00588c442af4fca49f9c106c0486bd235a (patch)
treedbbcdfa04282335e57d6fe60a0afd41bfbcc6bab /module/global.scm
parentAdd "missing" regex import. (diff)
downloadcalp-3fe27b00588c442af4fca49f9c106c0486bd235a.tar.gz
calp-3fe27b00588c442af4fca49f9c106c0486bd235a.tar.xz
Add global basedir var.
Diffstat (limited to 'module/global.scm')
-rw-r--r--module/global.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/module/global.scm b/module/global.scm
new file mode 100644
index 00000000..f8d0cd7f
--- /dev/null
+++ b/module/global.scm
@@ -0,0 +1,10 @@
+(define-module (global))
+
+;; TODO encapsulating these in
+;; atomic boxes might be a good
+;; idea.
+
+(define-once basedir #f)
+
+(export basedir)
+