Typed hole improvements

David Feuer <[email protected]>
Newsgroups gmane.comp.lang.haskell.ghc.devel,gmane.comp.lang.haskell.glasgow.user
Message-ID <CAMgWh9sYyCw8A9_eyXBgqk2Ty1SvgKa5BowLnndZsZ78wD4KPQ@mail.gmail.com>
I've been playing around with 8.6.3, and I've really been appreciating the
improvements in typed hole messages. Both the information about constraints
and the suggestions for filling the holes have proven valuable in heavily
typish programming. Thanks! One thing that's still not where I'd like it to
be is the equality constraint display. I recognize this is a Hard Problem.
But digging through something like

  x ~ C y z
  x ~ C y1 z2
  D p b ~ q z y1

to get b ~ y gets tiresome. Is there room for improvement here? If not, are
there any programs around using the GHC API to offer an interactive system
for such calculations? It'd be quite helpful when seeing such constraints
to be able to express special interest in a particular type variable, for
example.

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.