[Haskell-beginners] GHCi error msgs

Julius Gedvilas xged90 at gmail.com
Fri Oct 24 16:10:59 UTC 2014


You load a *.hs file into ghci (cabal repl) and, if types does not add up,
you get an error message in form of "*.hs:line:col: Couldn't match expected
type <Type> with actual type <Type> ...".

I may like to reformat that message with Parsec.

On Fri, Oct 24, 2014 at 6:56 PM, Karolis Velicka <karolis.velicka at gmail.com>
wrote:

> What do you mean by that? Can you give an example?
>
> Best wishes,
> Karl (Karolis) Velicka
>
>
> On 24 October 2014 14:30, Julius Gedvilas <xged90 at gmail.com> wrote:
> > How difficult would it be to change format of GHCi compile-time
> > error-messages of type "couldn't match expected type"?
> >
> > _______________________________________________
> > Beginners mailing list
> > Beginners at haskell.org
> > http://www.haskell.org/mailman/listinfo/beginners
> >
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20141024/dfb3738a/attachment.html>


More information about the Beginners mailing list