aboutsummaryrefslogtreecommitdiff
path: root/module/hnh
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-07-07 21:30:56 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-07-07 21:30:56 +0200
commit5bc55f5063280bab9c26981db517957225dff404 (patch)
treeac81088f4cae777fb2409271a3884c8e49ee768f /module/hnh
parentAdd basic c evaluator. (diff)
parentAdd srfi-64 util. (diff)
downloadcalp-5bc55f5063280bab9c26981db517957225dff404.tar.gz
calp-5bc55f5063280bab9c26981db517957225dff404.tar.xz
Merge path-absolute? and better test running.
Diffstat (limited to 'module/hnh')
-rw-r--r--module/hnh/util/path.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/hnh/util/path.scm b/module/hnh/util/path.scm
index ea081e85..0c8af48a 100644
--- a/module/hnh/util/path.scm
+++ b/module/hnh/util/path.scm
@@ -3,6 +3,7 @@
:use-module (srfi srfi-71)
:use-module (hnh util)
:export (path-append
+ path-absolute?
path-join
path-split
file-hidden?
@@ -12,6 +13,8 @@
(define // file-name-separator-string)
(define /? file-name-separator?)
+(define path-absolute? absolute-file-name?)
+
(define (path-append . strings)
(fold (lambda (s done)
(string-append