How to distinguish between integers and natural numbers? #34
Labels
bug
Something isn't working
help wanted
Extra attention is needed
rust
Pull requests that update Rust code
Is there a way to distinguish between integers and natural numbers when dumping? E.g. if I dump 4, it shows up as '4' instead of '+4' and that does not work if a reader using the Haskell binding expects an integer ('+4') instead of a natural number ('4').
Furthermore, if I dump
[4, -4]
, I'll get '[4, -4]', which I think is not valid Dhall because 4 is a natural number but -4 is an integer and elements of a list needs to be the same type.This is probably related to #1.
The text was updated successfully, but these errors were encountered: