Hello GHC HQ,
I've been trying to improve/fix a minor optimization sub-optimality
w.r.t to the following code (code like that results from the
generics-based NFData deriver[1]):
data Foo = Foo1 | Foo2 | Foo3 !Int
rnf1 :: Foo - ()
rnf1 x = case x of
Foo1 - ()
On 17/10/2012 08:43, Richard Zetterberg wrote:
I have two parts of my application; one which builds a cli application
which uses my module and one which builds a shared library which uses
the same module. I have no problems compiling my cli application. And if
I try to compile the shared library
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello and thank you for the reply
Yes! It seems the details from my first mail (10/15/12 3:25 PM) fell
out. Here is the relevant parts from that mail:
The problem I have is that I get a linker error when compiling a
shared library with GHC. This