Re:GHCJS - Haskell in the Browser
by chongli on Wednesday June 26, 2013 @08:41PM
(#5950023)
Oh, so does that mean I can't do anything that uses the Integral class, for example? Even if I make sure all my types are Ints?
[ Parent
| on HN ]
You can use the Integral class (when compiling, the instance gets converted to an extra dictionary argument, if you never use the instance the dictionary will be unreachable)
But Integer is really hard to avoid in general, for example the Show instance for Double depends on it.