
19 Nov
2009
19 Nov
'09
11:46 a.m.
On Thu, Nov 19, 2009 at 11:11:08AM +0100, Josef Svenningsson wrote:
On Wed, Nov 18, 2009 at 3:47 PM, Ian Lynagh
wrote: On Tue, Nov 17, 2009 at 04:11:21PM +0100, Philip K.F. Hölzenspies wrote:
Am I chalking you up as a +1?
For splitAts, yes.
My breaks has generally been such that breaks "123,456,,78" == ["123", "456", "", "78"] but the details probably depend on exactly what I've been using it for.
I've been using this kind of breaks as well in the past. Is there a usecase for a more general version?
Ooops, I actually meant breaks (',' ==) "123,456,,78" == ["123", "456", "", "78"] but personally I don't think this should be standardised. Thanks Ian