bake: use combinators.conditional
parent
46fc50af37
commit
09fb8d878b
|
@ -1,17 +1,11 @@
|
||||||
|
|
||||||
USING: kernel parser combinators sequences splitting quotations arrays macros
|
USING: kernel parser combinators sequences splitting quotations arrays macros
|
||||||
arrays.lib combinators.cleave newfx dns.util ;
|
arrays.lib combinators.cleave combinators.conditional newfx ;
|
||||||
|
|
||||||
IN: bake
|
IN: bake
|
||||||
|
|
||||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
MACRO: 1cond ( tbl -- )
|
|
||||||
[ [ 1st [ dup ] prepend ] [ 2nd ] bi {2} ] map
|
|
||||||
[ cond ] prefix-on ;
|
|
||||||
|
|
||||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
||||||
|
|
||||||
SYMBOL: ,
|
SYMBOL: ,
|
||||||
SYMBOL: @
|
SYMBOL: @
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue