
15 Apr
2014
15 Apr
'14
1:05 p.m.
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.