class Therapy::UnionType(L, R)

Defined in:

therapy/union_type.cr

Constructors

Instance methods inherited from class Therapy::BaseType(L | R)

optional : OptionalType(T | T) optional, or(other : BaseType(U)) : UnionType(T | T, U) forall U or, parse(input : V) : Result(T | T) forall V parse, parse!(input) : T | T parse!

Constructor Detail

def self.new(left : BaseType(L), right : BaseType(R)) #

[View source]