Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd new conversion primitives #49
Comments
markus1189
added a commit
that referenced
this issue
May 8, 2017
Gabriel439
added a commit
that referenced
this issue
May 8, 2017
markus1189
added a commit
that referenced
this issue
May 8, 2017
markus1189
added a commit
that referenced
this issue
May 9, 2017
markus1189
added a commit
that referenced
this issue
May 9, 2017
Gabriel439
added a commit
that referenced
this issue
May 9, 2017
This comment has been minimized.
This comment has been minimized.
|
All four conversion primitives are done now, so I'll mark this resolved |
Gabriel439
closed this
May 11, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gabriel439 commentedMay 7, 2017
•
edited by markus1189
As mentioned in #47, we need the following new builtin functions in order to render numeric values:
Natural/show : Natural → TextInteger/show : Integer → TextDouble/show : Double → TextNatural/toInteger : Natural → IntegerThe
showfunctions should render in the exact same format that Dhall parses to source code. The purpose of theNatural/toIntegerfunction is to help renderNaturalnumbers without a leading+by converting them toIntegers first