dhall-golang icon indicating copy to clipboard operation
dhall-golang copied to clipboard

Better support for union values

Open philandstuff opened this issue 5 years ago • 1 comments

Currently, there is no way for a user to unpack a value of union type from a Value.

This also means there's no way to unmarshal a union value into a go data structure.

philandstuff avatar Feb 22 '20 13:02 philandstuff

Yep, just ran into this. unionVal isn't exported, so there's nothing I can do if Eval returns it.

terinjokes avatar Aug 27 '20 20:08 terinjokes