struct Novika::False
- Novika::False
- Novika::Boolean
- Struct
- Value
- Object
Overview
Represents a falsey Boolean
. False
is the only falsey
form in Novika.
Defined in:
novika/forms/boolean.crClass Method Summary
Instance Method Summary
- #==(other : self)
-
#desc(io : IO)
Appends a string description of this form to io.
-
#hash(hasher)
See
Object#hash(hasher)
-
#sel(a, b)
Selects either a or b.
- #to_s(io)
Instance methods inherited from struct Novika::Boolean
initialize
initialize
Constructor methods inherited from struct Novika::Boolean
[](object) : Boolean
[],
new
new,
same?(a : ValueForm, b : ValueForm) : Booleansame?(a : Reference, b : Reference) : Boolean
same?(a : Byteslice, b : Byteslice) : Boolean
same?(a, b) : Boolean same?
Class methods inherited from struct Novika::Boolean
typedesc
typedesc
Instance methods inherited from module Novika::Form
a(type : T.class) : T forall T
a,
desc(io : IO)desc : String desc, die(details : String) die, effect(io)
effect effect, on_open(engine : Engine) : self on_open, on_parent_open(engine : Engine) : self on_parent_open, onto(block : Block) : self onto, sel(a, b) sel, to_quote : Quote to_quote
Instance methods inherited from module Novika::Schedulable
schedule(engine : Engine, stack : Block)
schedule,
schedule!(engine : Engine, stack : Block)
schedule!
Class Method Detail
Instance Method Detail
def desc(io : IO)
#
Description copied from module Novika::Form
Appends a string description of this form to io.
def sel(a, b)
#
Description copied from module Novika::Form
Selects either a or b. Novika defines False
to be the
only form selecting b. All other forms select a.