diff options
Diffstat (limited to 'modules/language/python/def.scm')
-rw-r--r-- | modules/language/python/def.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/language/python/def.scm b/modules/language/python/def.scm index fa4cbc5..f5466ad 100644 --- a/modules/language/python/def.scm +++ b/modules/language/python/def.scm @@ -1,6 +1,7 @@ (define-module (language python def) #:use-module (oop pf-objects) #:use-module (language python for) + #:use-module (language python list) #:use-module (ice-9 match) #:use-module (srfi srfi-11) #:export (def lam py-apply)) @@ -147,6 +148,6 @@ #'(f a ...) #'(apply f (let lp ((l (list (m* a) ...))) (if (pair? l) - (append (car l) (lp (cdr l))) + (append (to-list (car l)) (lp (cdr l))) '())))))))) |