agda2hs
agda2hs copied to clipboard
Add bindings for numeric typeclasses
Currently we are missing support for the following classes:
- [ ] Real
- [ ] Integral
- [ ] Fractional
- [ ] Floating
- [ ] RealFrac
- [ ] RealFloat
For everything up to and including Fractional
we could be able to give definitions on the Agda side (or steal them from the standard library). For the rest, we should probably just postulate them.
Hi, I'd like to work on this. Can you assign it to me, please? Should a file be created for each of these numeric typeclasses, in lib/Haskell/Prim?
Thank you, assigned! I think having one file per typeclass makes sense, yeah.