[Haskell-cafe] Error in the GHC documentation for the IsList class ?
David Virebayre
dav.vire+haskell at gmail.com
Tue Apr 15 13:05:29 UTC 2014
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.
More information about the Haskell-Cafe
mailing list