Hi, I'm very new to Haskell and I don't know about head, take, etc. but I think the `Functor` class (and its `fmap` function) provides the abstraction for `map` (which, in my understanding, can be considered the list-specific `fmap`).


2013/5/31 Giacomo Tesio <giacomo@tesio.it>
I'm looking for a class abstracting Data.List. I mean something that enable the use of say head, map, take and so on into different kind of types.

Is there already something like that?


Giacomo

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners




--
Nadir