Handbook
Glossary
old-state<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
old-state<<
( value object -- )
Methods
USING:
accessors
checksums.md5
kernel
slots
slots.private
specialized-arrays.instances.alien.c-types.uint
;
M:
md5-state
old-state<<
[
dup
uint-array?
[
\
uint-array
bad-slot-value
]
unless
]
dip
9
set-slot
;
inline
USING:
accessors
checksums.ripemd
kernel
slots
slots.private
specialized-arrays.instances.alien.c-types.uint
;
M:
ripemd-160-state
old-state<<
[
dup
uint-array?
[
\
uint-array
bad-slot-value
]
unless
]
dip
10
set-slot
;
inline