News for hackers. Stuff that matters.
Re:Ask HN: Any downsides of programming in Haskell? by spyked on Wednesday June 19, 2013 @12:26AM (#5903742)
> 2. But weirdly enough, many operators aren't generic. String concatenation is performed with "++" but addition with "+".

Some see concatenation as addition, others as composition. Funnily enough, in Haskell addition is reserved to numbers and composition to functions. I'm guessing that's why "(++)" was chosen for lists, with strings as a particular case.

There are no comments on this comment yet.