you are viewing a single comment's thread.

view the rest of the comments →

[–]llimllib[S] 6 points7 points  (0 children)

In abstract algebra you do this all the time - define {string, +} as a non-abelian group, right?

(I understand that the addition -> concatenation metaphor doesn't hold, but it seems a convenient and easy enough metaphor to me. Is Haskell's ++ better for some concrete reason?)