more else -> _ conversions
This commit is contained in:
parent
ad8b5c5eb7
commit
f8e8c42780
|
@ -98,7 +98,7 @@ turns into this:
|
||||||
`(list ,lpat ...)
|
`(list ,lpat ...)
|
||||||
(? (compose not pair?))) ;; pattern for literals (numbers, strings, prefabs, etc etc etc)
|
(? (compose not pair?))) ;; pattern for literals (numbers, strings, prefabs, etc etc etc)
|
||||||
(if allow-else?
|
(if allow-else?
|
||||||
(list 'else)
|
(list '_)
|
||||||
(list))))
|
(list))))
|
||||||
(for ([pat (in-list pats)])
|
(for ([pat (in-list pats)])
|
||||||
(when (null? should-be-pats)
|
(when (null? should-be-pats)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user