[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


HI,

Am Dienstag, den 15.04.2014, 15:05 +0200 schrieb David Virebayre:
> In section 7.6.5.1, 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
http://git.haskell.org/ghc.git/commit/a107737f84f6738a9fa572ec9c5da49c9db8a8b5

Thanks for the report,
Joachim

-- 
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