Send ghc-devs mailing list submissions to
ghc-devs@haskell.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
or, via email, send a message with subject or body 'help' to
ghc-devs-request@haskell.org
You can reach the person managing the list at
ghc-devs-owner@haskell.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of ghc-devs digest..."
Today's Topics:
1. Linking issue on Windows: #10672 (Richard Eisenberg)
2. Re: Linking issue on Windows: #10672 (John Wiegley)
3. Type checker error messages question (Jack Bowman)
----------------------------------------------------------------------
Message: 1
Date: Sat, 8 Aug 2015 14:23:31 -0400
From: Richard Eisenberg <eir@cis.upenn.edu>
To: ghc-devs Devs <ghc-devs@haskell.org>
Subject: Linking issue on Windows: #10672
Message-ID: <8839B562-9A83-4137-A0D6-5DC15137C9C6@cis.upenn.edu>
Content-Type: text/plain; charset=us-ascii
Hi devs,
Bug #10672 was posted two weeks ago and has not received any response. It concerns linking issues on Windows with Template Haskell. This is very far out of my depth, but I don't recognize the name of the poster (lukexi), and so it would be great to let that person know we've received the report and have at least triaged it. Who are the Windows task force? I can't seem to find that listed on https://ghc.haskell.org/trac/ghc/wiki/TeamGHC, but perhaps there's a better place to look.
If you have any idea of what's going on, would you mind at least commenting on the bug?
Thanks!
Richard
Template Haskell czar but linking buffoon and Windows ignoramus
------------------------------
Message: 2
Date: Sat, 08 Aug 2015 12:35:25 -0700
From: "John Wiegley" <johnw@newartisans.com>
To: Richard Eisenberg <eir@cis.upenn.edu>
Cc: ghc-devs Devs <ghc-devs@haskell.org>
Subject: Re: Linking issue on Windows: #10672
Message-ID: <m2d1yxshdu.fsf@newartisans.com>
Content-Type: text/plain
>>>>> Richard Eisenberg <eir@cis.upenn.edu> writes:
> If you have any idea of what's going on, would you mind at least commenting
> on the bug?
I would also like to know who knows what about which linking platforms we
support.
John
------------------------------
Message: 3
Date: Sat, 8 Aug 2015 22:56:00 -0400
From: Jack Bowman <johnrbowman@gmail.com>
To: ghc-devs@haskell.org
Subject: Type checker error messages question
Message-ID:
<CACcVNgUgbw9WLocN7dFM5Wewh8WbG4d81MwNmZQhcSedoSJEVQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi all,
I'm new to the GHC codebase and am looking to contribute. I started trying
to implement https://ghc.haskell.org/trac/ghc/ticket/9173 , "better type
error messages". I'm having some difficulty and was hoping someone more
experienced could point me in the right direction.
Part of the proposed change is that the "inferred:" line lists both the
expression ("Just 5") and its type ("Maybe a0"). That's good because it's
more clear that way. Currently those are in different parts of the error
message. The function misMatchMsg (TcErrors.hs) creates the text "couldn't
match expected type...". The text "In the second argument of..." is created
by funAppCtxt (TcExpr.hs) during type checking. Bringing these together
seems tricky. When we're generating a message like "couldn't match expected
type..." I don't see how to access the expression text, like the "LHsExpr
Name"s available to funAppCtxt. Is there an easy way to get that? We have
the constraint and the two types, but I don't think those include this info.
It seems fundamental to the error messages that the context ("in the _
argument..., in the expression ...") is built up as *text* while we do type
checking, which means it's hard to customize when building the final error
message.
Please let me know if I'm missing something. There's a lot of type checker
state that I might be misunderstanding.
Thanks,Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20150808/500a1dcd/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
------------------------------
End of ghc-devs Digest, Vol 144, Issue 13
*****************************************