[Haskell-cafe] Data.List.Split
Gianfranco Alongi
gianfranco.alongi at gmail.com
Sat Dec 13 11:39:55 EST 2008
A very nice initiative I must say; although the page should contain
the usual explanation for why such a split method can't be universal.
That is, add the same explanation you give every time; but to the
page.
/Gianfranco
On Sat, Dec 13, 2008 at 5:30 PM, Brent Yorgey <byorgey at seas.upenn.edu> wrote:
> Today yet another newbie in #haskell asked about a 'split' function
> for lists, and I got fed up with saying 'no one can agree on the right
> interface so it doesn't exist, just write it yourself', because it's a
> really dumb answer, even if it's true.
>
> Instead of trying to get a 'split' function added to Data.List (which
> will never ever happen), I thought, why not create a module
> Data.List.Split which contains implementations of every conceivable
> way to split a list? Of course, people will probably still argue over
> what should go in such a module, what to name the various functions,
> etc., but hopefully we can converge on something useful.
>
> I've created a Data.List.Split page on the wiki:
>
> http://haskell.org/haskellwiki/Data.List.Split
>
> Please add code to it! Once something useful is hashed out we can
> upload it to hackage. Perhaps eventually some of it can be folded
> into the standard libraries, but this seems like a much more
> lightweight way to get started.
>
> -Brent
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Patience is the last resort for those unable to take action
More information about the Haskell-Cafe
mailing list