obody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interface decl for PrelTup
Initial Comment:
My literate haskell script uses tupels with 38
elements. When using HUGS I get no errors and the
script is running as wanted.
Compiling with ghc-5.02.2 following error occurs:
Switches_tupel.lhs
d to: Nobody/Anonymous (nobody)
Summary: interface decl for PrelTup
Initial Comment:
My literate haskell script uses tupels with 38
elements. When using HUGS I get no errors and the
script is running as wanted.
Compiling with ghc-5.02.2 following error occurs:
Switches_tupel.lhs:1:
Failed to find in
Ooops, I forgot to attach the patches...
--- Makefile.diff -
*** ghc-3.01/Makefile Wed Jun 17 17:44:55 1998
--- MakefileWed Jun 17 17:38:23 1998
***
*** 63,69
PrelBase_HC_OPTS += -H12m
PrelRead_HC_OP
#x27;ve often thought of making tuples
> more generic, but it never seems worth the bother (which is,
> belive me, non-trivial).
Yes, I figure that it is a Tricky Thing.
> You could do it yourself of course, or hack PrelTup...
I did the latter and found that if I define a tuple with
more
ig tuples into nested smaller tuples... but
I havn't gotten around to doing it. You could do it yourself
of course, or hack PrelTup...
Sorry about this. I hate it when compilers embody arbitrary limits.
Simon
Hi Sigbjorn,
I had another look at the 55 tuple problem. And this time,
I could find a short program that produces the error. This
main = let
x = print "bla"
in f (g x)
f
(x,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,
Manuel Chakravarty writes:
> Sigbjorn Finne wrote,
>
> > A 55-tuple no less :-) It arises from the compilation of a (big!)
> > letrec of Happy parser states, and is a `bug' that has been fixed in
> > later releases of ghc. I suggest picking up a more recent ghc binary
> > dist, as extending ghc
Sigbjorn Finne wrote,
> A 55-tuple no less :-) It arises from the compilation of a (big!)
> letrec of Happy parser states, and is a `bug' that has been fixed in
> later releases of ghc. I suggest picking up a more recent ghc binary
> dist, as extending ghc to cope with 55 tuples will require twea
Manuel Chakravarty writes:
> Hi Glaswegians,
>
> [This is not necessarily a bug; nevertheless, any advice
> would be appreciated.]
>
> During linking of a (big) Happy generate file, I ended up
> with a linker message like
>
> KCParser.o(.text+0x41a9f): undefined reference to `PrelTup_Z40Z44..
Hi Glaswegians,
[This is not necessarily a bug; nevertheless, any advice
would be appreciated.]
During linking of a (big) Happy generate file, I ended up
with a linker message like
KCParser.o(.text+0x41a9f): undefined reference to
`PrelTup_Z40Z44Z44Z44Z44Z44Z44Z44Z44Z44Z44Z44Z44Z44Z44Z44Z44Z44
10 matches
Mail list logo