Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
luite
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
luite
13y ago
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 S
2.
▲
by
luite
13y ago
If you're really careful and not use anything from base that might use an 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
3.
▲
by
luite
13y ago
I want that too! Dan Frumin is working on a GSoC project that uses GHC, GHCJS and diagrams to make a "try now" pastebin site with graphics. Unfortunately, GHCJS is not quite Safe Haskell code, so we are still working on sandboxing
4.
▲
by
luite
13y ago
Code size is pretty big currently indeed. The highest priority is to make sure that we get all required patches to support GHCJS merged into GHC, before 7.8.1 is out. GHCJS is a standalone, cabal installable compiler (it uses the GHC API),
5.
▲
by
luite
13y ago
The change is proposed for ECMAScript 6: http://wiki.ecmascript.org/doku.php?id=harmony:proper_tail_c... GHCJS currently uses a trampoline, but all calls are in tail position, so when this gets implemented we can easily gen