Is there already a list class?

Marc Weber marco-oweber at gmx.de
Tue Jan 9 20:52:52 EST 2007


Hello.

Is here the right place to request a list class?
eg
class List l e where
	(:) :: e -> l e -> l e
	head :: ..

This might be used in Data.Set, Data.Map

class StorableAsList l e t where
	fromList :: l e ->  t
	toList :: t -> l e

I'd like to help implementing/ writing it.

Do you consider this beeing a useful enhancement?

Cheers
Marc Weber


More information about the Libraries mailing list