Class: Dhall::Operator::ListConcatenate
- Inherits:
-
Dhall::Operator
- Object
- Expression
- Dhall::Operator
- Dhall::Operator::ListConcatenate
- Defined in:
- lib/dhall/ast.rb,
lib/dhall/normalize.rb
Constant Summary
Constants inherited from Dhall::Operator
Instance Method Summary collapse
Methods inherited from Dhall::Operator
Methods inherited from Expression
#&, #*, #+, #annotate, #as_dhall, #cache_key, #call, #concat, decode, #deep_merge, #deep_merge_type, #dhall_eq, #digest, #fetch, #fusion, #merge, #resolve, #shift, #slice, #substitute, #to_binary, #to_cbor, #to_proc, #to_s, #|
Instance Method Details
#normalize ⇒ Object
229 230 231 232 233 234 235 236 237 |
# File 'lib/dhall/normalize.rb', line 229 def normalize normalized = super case normalized.rhs when EmptyList normalized.lhs else normalized.lhs.concat(normalized.rhs) end end |