pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-indexed-traversable
Module Name: pkgsrc
Committed By: pho
Date: Fri Apr 23 07:41:59 UTC 2021
Added Files:
pkgsrc/devel/hs-indexed-traversable: DESCR Makefile PLIST buildlink3.mk
distinfo
pkgsrc/devel/hs-indexed-traversable/files: Setup.hs
Log Message:
Import indexed-traversable-0.1.1
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-indexed-traversable/DESCR \
pkgsrc/devel/hs-indexed-traversable/Makefile \
pkgsrc/devel/hs-indexed-traversable/PLIST \
pkgsrc/devel/hs-indexed-traversable/buildlink3.mk \
pkgsrc/devel/hs-indexed-traversable/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-indexed-traversable/files/Setup.hs
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/hs-indexed-traversable/DESCR
diff -u /dev/null pkgsrc/devel/hs-indexed-traversable/DESCR:1.1
--- /dev/null Fri Apr 23 07:41:59 2021
+++ pkgsrc/devel/hs-indexed-traversable/DESCR Fri Apr 23 07:41:59 2021
@@ -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.
Index: pkgsrc/devel/hs-indexed-traversable/Makefile
diff -u /dev/null pkgsrc/devel/hs-indexed-traversable/Makefile:1.1
--- /dev/null Fri Apr 23 07:41:59 2021
+++ pkgsrc/devel/hs-indexed-traversable/Makefile Fri Apr 23 07:41:59 2021
@@ -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"
Index: pkgsrc/devel/hs-indexed-traversable/PLIST
diff -u /dev/null pkgsrc/devel/hs-indexed-traversable/PLIST:1.1
--- /dev/null Fri Apr 23 07:41:59 2021
+++ pkgsrc/devel/hs-indexed-traversable/PLIST Fri Apr 23 07:41:59 2021
@@ -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
Index: pkgsrc/devel/hs-indexed-traversable/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-indexed-traversable/buildlink3.mk:1.1
--- /dev/null Fri Apr 23 07:41:59 2021
+++ pkgsrc/devel/hs-indexed-traversable/buildlink3.mk Fri Apr 23 07:41:59 2021
@@ -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
Index: pkgsrc/devel/hs-indexed-traversable/distinfo
diff -u /dev/null pkgsrc/devel/hs-indexed-traversable/distinfo:1.1
--- /dev/null Fri Apr 23 07:41:59 2021
+++ pkgsrc/devel/hs-indexed-traversable/distinfo Fri Apr 23 07:41:59 2021
@@ -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
Index: pkgsrc/devel/hs-indexed-traversable/files/Setup.hs
diff -u /dev/null pkgsrc/devel/hs-indexed-traversable/files/Setup.hs:1.1
--- /dev/null Fri Apr 23 07:41:59 2021
+++ pkgsrc/devel/hs-indexed-traversable/files/Setup.hs Fri Apr 23 07:41:59 2021
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
Home |
Main Index |
Thread Index |
Old Index