
23 May
2005
23 May
'05
11:47 a.m.
On Mon, May 23, 2005 at 01:38:59PM +0200, Henning Thielemann wrote:
It would be great if we had a class for finite sequences with instances Data.List, Data.Array, Data.Sequence. Maybe the new identifiers (<|), (|>) and so on should be names of methods of a such a class instead of separate functions.
What would that buy us? I can't think of many useful functions that would use that interface, what with (<|) lazy for lists and strict for the other two, and (|>) cheap for sequences and expensive for the other two.