aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--module/util.scm3
-rw-r--r--module/vcomponent/output.scm3
2 files changed, 2 insertions, 4 deletions
diff --git a/module/util.scm b/module/util.scm
index 01d2eeb1..5e54fbc4 100644
--- a/module/util.scm
+++ b/module/util.scm
@@ -183,9 +183,6 @@
((_ field proc rest ...)
(begin (modf% field proc) (mod! rest ...)))))
-(define-public (concat lists)
- (apply append lists))
-
;; This function borrowed from web-ics (calendar util)
(define* (sort* items comperator #:optional (get identity))
"A sort function more in line with how python's sorted works"
diff --git a/module/vcomponent/output.scm b/module/vcomponent/output.scm
index d5cf0f32..8db2d85b 100644
--- a/module/vcomponent/output.scm
+++ b/module/vcomponent/output.scm
@@ -2,6 +2,7 @@
#:use-module (vcomponent)
#:use-module (vcomponent control)
#:use-module (util)
+ #:use-module (srfi srfi-1)
#:use-module (srfi srfi-19 util)
#:use-module (srfi srfi-26)
#:use-module (ice-9 format)
@@ -32,7 +33,7 @@
(format port "~a ~15@a~{;~a=~{~a~^,~}~}: ~a~%"
(make-string depth #\:)
key
- (concat (hash-map->list list (cdr at)))
+ (concatenate (hash-map->list list (cdr at)))
(v at)))))
(for-each-in (children comp)
(lambda (e) (print-vcomponent e port #:depth (1+ depth))))))