mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 08:47:35 +02:00
check for list before calling (length)
This commit is contained in:
parent
27ca613d0a
commit
984ddc76dc
1 changed files with 1 additions and 0 deletions
|
@ -1856,6 +1856,7 @@
|
|||
((ast:lambda? (car exp)))
|
||||
((pair? (cdr exp)))
|
||||
((not (cadr exp)))
|
||||
((list? (ast:lambda-args (car exp))))
|
||||
(= 1 (length (ast:lambda-args (car exp))))
|
||||
;; Get information for continuation
|
||||
(loop-sym (car (ast:lambda-args (car exp))))
|
||||
|
|
Loading…
Add table
Reference in a new issue