Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Different behaviors between GHC 7.6.3 and 7.8.3
(Henk-Jan van Tuyl)
2. Re: Different behaviors between GHC 7.6.3 and 7.8.3
(Emilio De Camargo Francesquini)
----------------------------------------------------------------------
Message: 1
Date: Wed, 01 Oct 2014 14:02:58 +0200
From: "Henk-Jan van Tuyl" <[email protected]>
To: [email protected], "Emilio De Camargo Francesquini"
<[email protected]>
Subject: Re: [Haskell-beginners] Different behaviors between GHC 7.6.3
and 7.8.3
Message-ID: <op.xm1vrcxspz0j5l@alquantor>
Content-Type: text/plain; charset=iso-8859-15; format=flowed;
delsp=yes
On Tue, 30 Sep 2014 17:33:51 +0200, Emilio De Camargo Francesquini
<[email protected]> wrote:
:
> GHCi, version 7.8.3: http://www.haskell.org/ghc/ :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> Loading package base ... linking ... done.
> Prelude> let x = 3 + 4
> Prelude> :print x
> x = (_t1::Num a => a)
> Prelude> :force x
> x = _
> Prelude> print _t1
> ghc: panic! (the 'impossible' happened)
> (GHC version 7.8.3 for x86_64-unknown-linux):
> tcTyVarDetails a{tv atm} [tv]
>
> Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
>
>
> Is it really a bug or is it something I really shouldn't be doing?
It seems to me that _t1 is a temporary name, therefore it is not
meaningful to print _t1; GHCi should give a message telling that _t1 is
not defined, not a panic message. It is best to write a bug report for
this.
Regards,
Henk-Jan van Tuyl
--
Folding@home
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
------------------------------
Message: 2
Date: Wed, 1 Oct 2014 09:18:16 -0300
From: Emilio De Camargo Francesquini <[email protected]>
To: Henk-Jan van Tuyl <[email protected]>
Cc: [email protected]
Subject: Re: [Haskell-beginners] Different behaviors between GHC 7.6.3
and 7.8.3
Message-ID:
<cann71n4me4mggvo76js4dpokuhmnpefcj4brg54zq-d4wxq...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello,
That, however, does not explain why
Prelude> :force x
x = _
did not evaluate "x". I finally found the related bug and apparently it is
indeed a known problem: https://ghc.haskell.org/trac/ghc/ticket/9046
Thanks!
Emilio
2014-10-01 9:02 GMT-03:00 Henk-Jan van Tuyl <[email protected]>:
> On Tue, 30 Sep 2014 17:33:51 +0200, Emilio De Camargo Francesquini <
> [email protected]> wrote:
>
> :
>
>> GHCi, version 7.8.3: http://www.haskell.org/ghc/ :? for help
>> Loading package ghc-prim ... linking ... done.
>> Loading package integer-gmp ... linking ... done.
>> Loading package base ... linking ... done.
>> Prelude> let x = 3 + 4
>> Prelude> :print x
>> x = (_t1::Num a => a)
>> Prelude> :force x
>> x = _
>> Prelude> print _t1
>> ghc: panic! (the 'impossible' happened)
>> (GHC version 7.8.3 for x86_64-unknown-linux):
>> tcTyVarDetails a{tv atm} [tv]
>>
>> Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
>>
>>
>> Is it really a bug or is it something I really shouldn't be doing?
>>
>
> It seems to me that _t1 is a temporary name, therefore it is not
> meaningful to print _t1; GHCi should give a message telling that _t1 is not
> defined, not a panic message. It is best to write a bug report for this.
>
> Regards,
> Henk-Jan van Tuyl
>
>
> --
> Folding@home
> What if you could share your unused computer power to help find a cure? In
> just 5 minutes you can join the world's biggest networked computer and get
> us closer sooner. Watch the video.
> http://folding.stanford.edu/
>
>
> http://Van.Tuyl.eu/
> http://members.chello.nl/hjgtuyl/tourdemonad.html
> Haskell programming
> --
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20141001/d82b6427/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 76, Issue 2
****************************************