Handbook
Glossary
minor<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
minor<<
( value object -- )
Methods
USING:
accessors
kernel
math
semver
slots
slots.private
;
M:
semver
minor<<
[
dup
integer?
[
\
integer
bad-slot-value
]
unless
]
dip
3
set-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
yaml.ffi
;
M:
version_directive_token_data
minor<<
T{
struct-slot-spec
{
name
"minor"
}
{
offset 4
}
{
class
fixnum
}
{
initial 0
}
{
type
int
}
}
write-struct-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
yaml.ffi
;
M:
yaml_version_directive_t
minor<<
T{
struct-slot-spec
{
name
"minor"
}
{
offset 4
}
{
class
fixnum
}
{
initial 0
}
{
type
int
}
}
write-struct-slot
;
inline