Import split-0.2.2 as devel/hs-split,
packaged for wip by pho. A 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.
This commit is contained in:
parent
9380f72789
commit
d2db178708
5 changed files with 66 additions and 0 deletions
16
devel/hs-split/DESCR
Normal file
16
devel/hs-split/DESCR
Normal file
|
@ -0,0 +1,16 @@
|
|||
A 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.
|
11
devel/hs-split/Makefile
Normal file
11
devel/hs-split/Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
# $NetBSD: Makefile,v 1.1 2014/08/01 20:58:03 szptvlfn Exp $
|
||||
|
||||
DISTNAME= split-0.2.2
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= pho@cielonegro.org
|
||||
COMMENT= Combinator library for splitting lists
|
||||
LICENSE= modified-bsd
|
||||
|
||||
.include "../../mk/haskell.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
22
devel/hs-split/PLIST
Normal file
22
devel/hs-split/PLIST
Normal file
|
@ -0,0 +1,22 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2014/08/01 20:58:03 szptvlfn Exp $
|
||||
lib/split-${PKGVERSION}/${HASKELL_VERSION}/Data/List/Split.hi
|
||||
lib/split-${PKGVERSION}/${HASKELL_VERSION}/Data/List/Split/Internals.hi
|
||||
lib/split-${PKGVERSION}/${HASKELL_VERSION}/HSsplit-${PKGVERSION}.o
|
||||
lib/split-${PKGVERSION}/${HASKELL_VERSION}/libHSsplit-${PKGVERSION}.a
|
||||
lib/split-${PKGVERSION}/${HASKELL_VERSION}/package-description
|
||||
share/doc/split-${PKGVERSION}/LICENSE
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/Data-List-Split-Internals.html
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/Data-List-Split.html
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/doc-index.html
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/frames.html
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/haddock-util.js
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/hslogo-16.png
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/index-frames.html
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/index.html
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/mini_Data-List-Split-Internals.html
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/mini_Data-List-Split.html
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/minus.gif
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/ocean.css
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/plus.gif
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/split.haddock
|
||||
${PLIST.doc}share/doc/split-${PKGVERSION}/html/synopsis.png
|
12
devel/hs-split/buildlink3.mk
Normal file
12
devel/hs-split/buildlink3.mk
Normal file
|
@ -0,0 +1,12 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1 2014/08/01 20:58:03 szptvlfn Exp $
|
||||
|
||||
BUILDLINK_TREE+= hs-split
|
||||
|
||||
.if !defined(HS_SPLIT_BUILDLINK3_MK)
|
||||
HS_SPLIT_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.hs-split+= hs-split>=0.2.2
|
||||
BUILDLINK_PKGSRCDIR.hs-split?= ../../devel/hs-split
|
||||
.endif # HS_SPLIT_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -hs-split
|
5
devel/hs-split/distinfo
Normal file
5
devel/hs-split/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2014/08/01 20:58:03 szptvlfn Exp $
|
||||
|
||||
SHA1 (split-0.2.2.tar.gz) = c5aa04f033846058a96450e7720268348c13d928
|
||||
RMD160 (split-0.2.2.tar.gz) = 7d4fe221283836386807f0e73a90df1255061f6f
|
||||
Size (split-0.2.2.tar.gz) = 14666 bytes
|
Loading…
Reference in a new issue