Class: Dhall::AsDhall::ExpressionList::Mono

Inherits:
Object
  • Object
show all
Defined in:
lib/dhall/as_dhall.rb

Instance Method Summary collapse

Constructor Details

#initialize(_, exprs, _) ⇒ Mono

Returns a new instance of Mono.



187
188
189
# File 'lib/dhall/as_dhall.rb', line 187

def initialize(_, exprs, _)
	@exprs = exprs
end

Instance Method Details

#listObject



191
192
193
# File 'lib/dhall/as_dhall.rb', line 191

def list
	List.new(elements: @exprs)
end