Fix fry bug
parent
74f17be711
commit
3a69f5e895
|
@ -48,3 +48,7 @@ sequences ;
|
||||||
[ { 1 2 3 } ] [
|
[ { 1 2 3 } ] [
|
||||||
3 1 '[ , [ , + ] map ] call
|
3 1 '[ , [ , + ] map ] call
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
|
[ { 1 { 2 { 3 } } } ] [
|
||||||
|
1 2 3 '[ , [ , [ , 1array ] call 2array ] call 2array ] call
|
||||||
|
] unit-test
|
||||||
|
|
|
@ -54,7 +54,7 @@ DEFER: (shallow-fry)
|
||||||
[ { , namespaces:, @ } member? ] filter length
|
[ { , namespaces:, @ } member? ] filter length
|
||||||
\ , <repetition> %
|
\ , <repetition> %
|
||||||
]
|
]
|
||||||
[ deep-fry % ] bi
|
[ fry % ] bi
|
||||||
] [ namespaces:, ] if
|
] [ namespaces:, ] if
|
||||||
] each
|
] each
|
||||||
] [ ] make deep-fry ;
|
] [ ] make deep-fry ;
|
||||||
|
|
Loading…
Reference in New Issue