by chongli · 13y ago · 0 comments
Ahh, so does this mean we can shake out entire libraries like JSBN if we avoid using Integer?
Currently non-Haskell dependencies are managed per package, so if anything from integer-gmp is linked, it will include the whole JSBN.
If you want to weed out the unused JSBN part, you can use closure compiler (although the new code generator will probably still have a few incompatibilities with it).
But Integer is really hard to avoid in general, for example the Show instance for Double depends on it.