[Haskell-beginners] typeclass
Dennis Raddle
dennis.raddle at gmail.com
Fri Mar 28 01:35:11 UTC 2014
If I write a function like this:
f (x1,y1) (x2,y2) = (x1++x2,y1++y2)
My understanding of typeclasses is just developing, but I notice this is a
bit like "lifting" (++) into a tuple. Maybe there is some existing
typeclass and a 2-tuple is already an instance of it? Like arrow?
D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140327/cae76041/attachment.html>
More information about the Beginners
mailing list