
11 Jul
2008
11 Jul
'08
6:21 a.m.
Hi
ByteString split:
split 'a' "aXaXaXa" == ["","X","X","X",""]
Neil's:
split' 'a' "aXaXaXa" == ["","X","X","X"]
I prefer the ByteString split (i.e. I prefer separator semantics over terminator), also because it's invertible. Some more support: http://www.haskell.org/pipermail/haskell-cafe/2006-July/016649.html
I prefer the ByteString split as well! That should be the one we use. Thanks Neil