Add a couple of inverses to inverse, fix summary
parent
d1f381ce3e
commit
68c82f88b1
|
@ -195,6 +195,10 @@ DEFER: _
|
||||||
\ first3 [ 3array ] define-inverse
|
\ first3 [ 3array ] define-inverse
|
||||||
\ first4 [ 4array ] define-inverse
|
\ first4 [ 4array ] define-inverse
|
||||||
|
|
||||||
|
\ prefix [ unclip ] define-inverse
|
||||||
|
\ unclip [ prefix ] define-inverse
|
||||||
|
\ suffix [ dup 1 head* swap peek ] define-inverse
|
||||||
|
|
||||||
! Constructor inverse
|
! Constructor inverse
|
||||||
: deconstruct-pred ( class -- quot )
|
: deconstruct-pred ( class -- quot )
|
||||||
"predicate" word-prop [ dupd call assure ] curry ;
|
"predicate" word-prop [ dupd call assure ] curry ;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Utility for defining compiler transforms, and short-circuiting boolean operators
|
Utility for defining compiler transforms
|
||||||
|
|
Loading…
Reference in New Issue