the impossible happened - size limits in template haskell?

Simon Peyton-Jones simonpj at microsoft.com
Tue Jun 6 05:25:35 EDT 2006


Yes, this is a bug, with an unhelpful error message.  We've opened a
Trac bug for it, but at low priority.

Thanks for reporting it.

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces at haskell.org
[mailto:glasgow-haskell-bugs-
| bounces at haskell.org] On Behalf Of Frederik Eaton
| Sent: 05 June 2006 06:25
| To: glasgow-haskell-bugs at haskell.org
| Subject: the impossible happened - size limits in template haskell?
| 
| Here I'm reading a very large matrix from a file and turning it into a
| template Haskell expression. Probably not the most efficient thing to
| do, but the error message could be clearer...
| 
| *Main> let y = $(qFast (\f -> runIO $ readMatrixFile "data.txt"
(runQ.f)));
| ghc-6.4.2: panic! (the `impossible' happened, GHC version 6.4.2):
|         linkBCO: >= 64k insns in BCO
| 
| Please report this as a compiler bug.  See:
|   http://www.haskell.org/ghc/reportabug
| 
| 
| 
| --
| http://ofb.net/~frederik/
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



More information about the Glasgow-haskell-bugs mailing list