base package (Was: GHC 7.8 release?)
mail at joachim-breitner.de
Thu Feb 14 17:45:02 CET 2013
I made a little progress after crippling GHC.Fingerprint:
The package at
(Branch base-pure) builds and contains just these modules:
./Prelude.hs (contains just $!)
The crippling can be seen here:
So if there were a magic way of getting a working GHC.Fingerprint module
without pulling in Foreign, this would be a good start for a base free
of any trace of
* Floating point arithmetic
Alternative, a magic way of providing the functions error and
divZeroError without having to define Exceptions would do well.
I guess it is not possible to define the "data ErrorCall" without the
Exception class and somehow call the primop raise# in a way that the
error can be caught, as catch will expect something of type
"SomeException" that has the Exception dictionary bundled.
Any idea how to achieve that, without having resort to ghc-bottom as
suggested by Ian (which would be ok, but not as nice as genuine small
packages to start with)?
Joachim "nomeata" Breitner
nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the Glasgow-haskell-users