aboutsummaryrefslogtreecommitdiff
path: root/ccwl/yaml.scm
diff options
context:
space:
mode:
Diffstat (limited to 'ccwl/yaml.scm')
-rw-r--r--ccwl/yaml.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/ccwl/yaml.scm b/ccwl/yaml.scm
index 256ba1d..8a2b7a5 100644
--- a/ccwl/yaml.scm
+++ b/ccwl/yaml.scm
@@ -30,6 +30,7 @@
(define-module (ccwl yaml)
#:use-module (srfi srfi-26)
#:use-module (ice-9 match)
+ #:use-module (ccwl utils)
#:export (scm->yaml
scm->yaml-string))
@@ -55,10 +56,6 @@
(display (if atom "true" "false") port))
(else (error "Unknown atom" atom))))
-(define (indent-level port level)
- "Emit whitespaces to PORT corresponding to nesting LEVEL."
- (display (make-string (* 2 level) #\space) port))
-
(define (display-array-element element port level)
"Display array ELEMENT to PORT at nesting LEVEL."
(display "- " port)