
12 Jul
2006
12 Jul
'06
7:17 p.m.
fields = csv `separateWith` "," csv = fields `joinWith` "," -- equivalent to concatIntersperse
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) ==> "\n" `join` xs in Haskell (where join sep = concat . intersperse sep ) Jared.