[Haskell-beginners] why is there no typeclass common to all containers?
Silent Leaf
silent.leaf0 at gmail.com
Tue May 31 22:18:16 UTC 2016
All in the title. I haven't used them much, but I saw Map or Vector types
were forcing the user to use qualified functions unless you want nameclash
with the more basic, typically list-oriented functions.
So, why not have a massive, general purpose interface so the type only can
separate between containers --which would allow for cross-container
polymorphism, i suppose, more easily, even though it's not necessarily the
most widespread need.
So, do i miss something? Is there in fact a class of that kind? If so why
not?
Thanks in advance! :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160601/e68f277a/attachment.html>
More information about the Beginners
mailing list