[Haskell-cafe] Error in the GHC documentation for the IsList class ?

Joachim Breitner mail at joachim-breitner.de
Tue Apr 15 13:34:50 UTC 2014


Am Dienstag, den 15.04.2014, 15:05 +0200 schrieb David Virebayre:
> In section, the documentation describes the IsList class, then
> goes on writing about a FromList class ( "The FromList class and its
> methods are intended to be used in conjunction with the
> OverloadedLists extension.")
> Later it's written :
> It is perfectly fine to declare new instances of IsList, so that list
> notation becomes useful for completely new data types. Here are
> several example instances:
> ...
> instance FromList [a] where

clearly a mistake; fixed in

Thanks for the report,

Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140415/dc1fff74/attachment.sig>

More information about the Haskell-Cafe mailing list