class Ven::Suite::MBox
- Ven::Suite::MBox
- Ven::Suite::MClass
- Reference
- Object
Overview
Ven's box type. Basically a concrete fun with body consisting
of assignments only. The scope of a box is exposed through
MBoxInstance
s.
Defined in:
ven/suite/model.crConstructors
Instance Method Summary
- #arity : UInt8
-
#callable?
Returns whether this model is callable.
- #constraints : ConstrainedParameters
- #eqv?(other : MBox)
- #eqv?(other : MBoxInstance)
- #name : String
- #namespace : Hash(String, Quote)
- #params : Array(String)
- #slurpy : Bool
- #tag : QTag
- #to_s(io)
Instance methods inherited from class Ven::Suite::MClass
callable? : Bool
callable?,
eqv?(other : Model) : Bool
eqv?,
field(name : String) : Model | Nil
field,
is_bool_false? : Bool
is_bool_false?,
of?(other : MType) : Boolof?(other) of?, to_bool(inverse = false) : MBool to_bool, to_num : Num to_num, to_str : Str to_str, to_vec : Vec to_vec, true? : Bool true?, truth=(truth : Bool) truth=, truth? truth?
Constructor Detail
def self.new(tag : Ven::Suite::QTag, name : String, constraints : Array(Ven::Suite::ConstrainedParameter), namespace : Hash(String, Ven::Suite::Quote))
#
Instance Method Detail
def callable?
#
Description copied from class Ven::Suite::MClass
Returns whether this model is callable.