
Don Stewart dons@galois.com:
jay:
Don Stewart dons@galois.com:
jay:
Don Stewart dons@galois.com:
jay:
I also have constants that are too large to compile. I am resigned to loading them from data files--other solutions seem even worse. ... Data.Binary eases the irritation somewhat.
Did you try bytestring literals (and maybe parsing them in-memory with Data.Binary)?
I finally squeezed enough time to try it, and it didn't work for me.
-- ghc Overflow.hs [1 of 1] Compiling Overflow ( Overflow.hs, Overflow.o )
Enable optimisations! Compile with ghc -O2. You need this to avoid having a very slow pack call at runtime.
Yes, I tried basic variations like that. The result is the same with -O1 or with -O2, and with Data.ByteString or Data.ByteString.Lazy .
I'm just 2 dum 2 c.
The show function?
Ha ha! Jay