Error in the GHC documentation for the IsList class ?

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

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/a107737f84f6738a9fa572ec9c5da49c9db8a8... Thanks for the report, Joachim -- Joachim “nomeata” Breitner mail@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nomeata@joachim-breitner.de • GPG-Key: 0xF0FBF51F Debian Developer: nomeata@debian.org
participants (2)
-
David Virebayre
-
Joachim Breitner