Handbook
Glossary
unpack ( str -- quot )
Vocabulary
pack
Inputs
str
an
object
Outputs
quot
an
object
Definition
USING:
assocs
combinators.smart
kernel
pack.private
sequences
;
IN:
pack
MACRO:
unpack
( str -- quot )
expand-pack-format
[
[
ch>packed-length
]
{
}
map-as
start/end
]
[
[
unpack-table
at
]
{
}
map-as
]
bi
[
[
[
]
2curry
]
dip
[
[
dip
<slice>
]
curry
]
dip
compose
]
3map
[
cleave>array
]
curry
;