Module: Dhall::Parser::ApplicationExpression

Defined in:
lib/dhall/parser.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



125
126
127
128
129
130
131
# File 'lib/dhall/parser.rb', line 125

def value
	first_expr = [capture(:first_application_expression).value]
	els = first_expr + captures(:import_expression).map(&:value)
	els.reduce do |f, arg|
		Application.for(function: f, argument: arg)
	end
end