
3 Nov
2006
3 Nov
'06
9:19 a.m.
Nils Anders Danielsson schrieb:
On Fri, 03 Nov 2006, Christian Maeder
wrote: Since Data.Ord and Data.Eq now have there on modules and are part of the prelude, I suggest to create Data.Function and put in "flip", "id", "const" (did I forget one?) and "on".
You forgot (.) and ($), which are already included.
Right, although I did look into your code I overlooked your re-export, because I expected the implementation of these function to be in the module whereas the prelude should re-export parts of it (Data.Function). However, the "true origin" of a function does not seem to matter and I don't know if Data.Ord re-exports parts of the Prelude or vice versa.
I didn't include seq, ($!) or asTypeOf.
Good, Christian