dhall-haskell/dhall/src
Gabriel Gonzalez bb490a7a18
Fix Natural/fold for GHCJS bindings (#985)
Fixes https://github.com/dhall-lang/dhall-lang/issues/579

`Natural/fold` was misbehaving on GHCJS due to the use of `Natural`
arithmetic (for some reason).  This is a problem I've seen and fixed
before, but needed to be fixed again after the migration to the new
`Dhall.Eval` normalization engine.

The fix is easy: use `Integer` instead of `Natural` for the accumulator
of the fold and the bug disappears.
2019-06-05 18:48:10 -07:00
..
Dhall Fix Natural/fold for GHCJS bindings (#985) 2019-06-05 18:48:10 -07:00
Dhall.hs Add and expose genericInject. (#940) 2019-05-05 20:21:50 -07:00