~singpolyma/dhall-ruby

ref: 6e28edfe220d024ceed9cc01bc43b1aede670681 dhall-ruby/test/test_as_dhall.rb -rw-r--r-- 5.4 KiB
Split Union and Enum

Stop putting special case conditionals for Union#value.nil? everywhere
and just split the classes.
Encoding binary string as List Natural

Certainly better than an error, and gives the dhall side access to the
individual bytes.
Update handling of builtins

Always parse to a special value and not to variables.
Encode seperately.
as_dhall for Symbol
Add as_dhall refinement