pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-indexed-traversable Import indexed-traversabl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f294baedfa86
branches: trunk
changeset: 450896:f294baedfa86
user: pho <pho%pkgsrc.org@localhost>
date: Fri Apr 23 07:41:59 2021 +0000
description:
Import indexed-traversable-0.1.1
diffstat:
devel/hs-indexed-traversable/DESCR | 17 ++++++++++++++
devel/hs-indexed-traversable/Makefile | 15 +++++++++++++
devel/hs-indexed-traversable/PLIST | 33 +++++++++++++++++++++++++++++
devel/hs-indexed-traversable/buildlink3.mk | 13 +++++++++++
devel/hs-indexed-traversable/distinfo | 6 +++++
devel/hs-indexed-traversable/files/Setup.hs | 2 +
6 files changed, 86 insertions(+), 0 deletions(-)
diffs (110 lines):
diff -r 34235618617c -r f294baedfa86 devel/hs-indexed-traversable/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-indexed-traversable/DESCR Fri Apr 23 07:41:59 2021 +0000
@@ -0,0 +1,17 @@
+This package provides three useful generalizations:
+
+class Functor f => FunctorWithIndex i f | f -> i where
+ imap :: (i -> a -> b) -> f a -> f b
+
+class Foldable f => FoldableWithIndex i f | f -> i where
+ ifoldMap :: Monoid m => (i -> a -> m) -> f a -> m
+
+class (FunctorWithIndex i t, FoldableWithIndex i t, Traversable t)
+ => TraversableWithIndex i t | t -> i where
+ itraverse :: Applicative f => (i -> a -> f b) -> t a -> f (t b)
+
+This package contains instances for types in GHC boot libraries. For
+some additional instances see indexed-traversable-instances.
+
+The keys package provides similar functionality, but uses (associated)
+TypeFamilies instead of FunctionalDependencies.
diff -r 34235618617c -r f294baedfa86 devel/hs-indexed-traversable/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-indexed-traversable/Makefile Fri Apr 23 07:41:59 2021 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2021/04/23 07:41:59 pho Exp $
+
+DISTNAME= indexed-traversable-0.1.1
+CATEGORIES= devel
+
+MAINTAINER= pho%cielonegro.org@localhost
+COMMENT= FunctorWithIndex, FoldableWithIndex, TraversableWithIndex
+LICENSE= 2-clause-bsd
+
+# Setup.hs is missing from the package.
+post-patch:
+ ${CP} -f ${FILESDIR}/Setup.hs ${WRKSRC}/Setup.hs
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 34235618617c -r f294baedfa86 devel/hs-indexed-traversable/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-indexed-traversable/PLIST Fri Apr 23 07:41:59 2021 +0000
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/23 07:41:59 pho Exp $
+lib/indexed-traversable-${PKGVERSION}/${HS_VERSION}/package-description
+lib/indexed-traversable-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Foldable/WithIndex.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Foldable/WithIndex.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Foldable/WithIndex.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Functor/WithIndex.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Functor/WithIndex.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Functor/WithIndex.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Traversable/WithIndex.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Traversable/WithIndex.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Traversable/WithIndex.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/GhcExts.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/GhcExts.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/GhcExts.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/WithIndex.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/WithIndex.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/WithIndex.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/Data-Foldable-WithIndex.html
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/Data-Functor-WithIndex.html
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/Data-Traversable-WithIndex.html
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/indexed-traversable.haddock
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/indexed-traversable-${PKGVERSION}/html/synopsis.png
diff -r 34235618617c -r f294baedfa86 devel/hs-indexed-traversable/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-indexed-traversable/buildlink3.mk Fri Apr 23 07:41:59 2021 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/04/23 07:41:59 pho Exp $
+
+BUILDLINK_TREE+= hs-indexed-traversable
+
+.if !defined(HS_INDEXED_TRAVERSABLE_BUILDLINK3_MK)
+HS_INDEXED_TRAVERSABLE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-indexed-traversable+= hs-indexed-traversable>=0.1.1
+BUILDLINK_ABI_DEPENDS.hs-indexed-traversable+= hs-indexed-traversable>=0.1.1
+BUILDLINK_PKGSRCDIR.hs-indexed-traversable?= ../../devel/hs-indexed-traversable
+.endif # HS_INDEXED_TRAVERSABLE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-indexed-traversable
diff -r 34235618617c -r f294baedfa86 devel/hs-indexed-traversable/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-indexed-traversable/distinfo Fri Apr 23 07:41:59 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/04/23 07:41:59 pho Exp $
+
+SHA1 (indexed-traversable-0.1.1.tar.gz) = f8fd1d669046739dcfdccceb3ffe2fd448fb854f
+RMD160 (indexed-traversable-0.1.1.tar.gz) = 093d395b709d38a310255e9ee5c1601e0e2558ab
+SHA512 (indexed-traversable-0.1.1.tar.gz) = 63d6c305f33d97f34c4efaeaede0e5c06c5ff95df9c45307e849de54693c0f93ec017d0e163c64e14bbb498bb2b02a3d54d1cd6a4e75992c8f96609bb73c8dbc
+Size (indexed-traversable-0.1.1.tar.gz) = 8424 bytes
diff -r 34235618617c -r f294baedfa86 devel/hs-indexed-traversable/files/Setup.hs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-indexed-traversable/files/Setup.hs Fri Apr 23 07:41:59 2021 +0000
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
Home |
Main Index |
Thread Index |
Old Index