boxes: add stack-effect info to if-box?.
parent
30d9f9e70c
commit
86ee1d452a
|
@ -31,5 +31,5 @@ PRIVATE>
|
|||
: ?box ( box -- value/f ? )
|
||||
dup occupied>> [ box-unsafe> t ] [ drop f f ] if ; inline
|
||||
|
||||
: if-box? ( box quot -- )
|
||||
: if-box? ( box quot: ( value -- ) -- )
|
||||
[ ?box ] dip [ drop ] if ; inline
|
||||
|
|
Loading…
Reference in New Issue