Proposal (Trac ticket #3671): Add takeRec, genericTakeRec and
spanRec to Data.List
josef.svenningsson at gmail.com
Thu Nov 19 05:11:08 EST 2009
On Wed, Nov 18, 2009 at 3:47 PM, Ian Lynagh <igloo at earth.li> 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?
Apart from that I'm positive towards the groupsOf function.
More information about the Libraries