Handbook
Glossary
front<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
front<<
( value object -- )
Methods
USING:
accessors
dlists
kernel
slots
slots.private
;
M:
dlist
front<<
[
dup
[
dlist-link?
]
[
t
]
if*
[
maybe{
dlist-link
}
bad-slot-value
]
unless
]
dip
2
set-slot
;
inline
USING:
accessors
kernel
slots
slots.private
unrolled-lists
unrolled-lists.private
;
M:
unrolled-list
front<<
[
dup
?node?
[
\
?node
bad-slot-value
]
unless
]
dip
2
set-slot
;
inline