Path to this page:
./
devel/hs-split,
Combinator library for splitting lists
Branch: pkgsrc-2017Q1,
Version: 0.2.2,
Package name: hs-split-0.2.2,
Maintainer: phoA collection of various methods for splitting lists into parts, akin to the
"split" function found in several mainstream languages. Here is its tale:
Once upon a time the standard Data.List module held no function for
splitting a list into parts according to a delimiter. Many a brave
lambda-knight strove to add such a function, but their striving was in
vain, for Lo, the Supreme Council fell to bickering amongst themselves what
was to be the essential nature of the One True Function which could cleave
a list in twain (or thrain, or any required number of parts).
And thus came to pass the split package, comprising divers functions for
splitting a list asunder, each according to its nature. And the Supreme
Council had no longer any grounds for argument, for the favored method of
each was contained therein.
To get started, see the Data.List.Split module.
Master sites:
SHA1: c5aa04f033846058a96450e7720268348c13d928
RMD160: 7d4fe221283836386807f0e73a90df1255061f6f
Filesize: 14.322 KB
Version history: (Expand)
- (2017-04-04) Package added to pkgsrc.se, version hs-split-0.2.2 (created)