mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
fix mapn error message
This commit is contained in:
parent
92499731bc
commit
9cd9ec1cda
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@
|
|||
(cons (apply proc (map1 car lol '())) res))
|
||||
(if (every (lambda (x) (if (null? x) #t (pair? x))) lol)
|
||||
(reverse res)
|
||||
(error "map: improper list" ls))))
|
||||
(error "map: improper list in list" lol))))
|
||||
(if (null? lol)
|
||||
(map1 proc ls '())
|
||||
(mapn proc (cons ls lol) '())))
|
||||
|
|
Loading…
Add table
Reference in a new issue