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