[Haskell-cafe] Re: Why is there no splitBy in the list module?
donn at drizzle.com
Thu Jul 13 00:17:50 EDT 2006
Quoth "Jared Updike" <jupdike at gmail.com>:
(... quoting me)
|> Hence I would much rather have the split condition be the first
|> parameter -- the infix notation looks good, but it will need a
|> "flip" to get the parameters in the right order.
| This also goes along with join in python, i.e.
| "\n" `join` xs
| in Haskell (where join sep = concat . intersperse sep )
Suit yourself! Since we seem to be in agreement on the basic point,
I won't go into what I think about "\n".join(xs).
Donn Cave, donn at drizzle.com
More information about the Haskell-Cafe