pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/hs-contravariant Import contravariant-1.5.2 from wip



details:   https://anonhg.NetBSD.org/pkgsrc/rev/178f1be1796f
branches:  trunk
changeset: 406988:178f1be1796f
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Jan 01 02:29:19 2020 +0000

description:
Import contravariant-1.5.2 from wip

Contravariant functors, sometimes referred to colloquially as
cofunctor, even though the dual of a functor is just a functor. As
with functor the definition of contravariant for a given ADT is
unambiguous.

diffstat:

 math/hs-contravariant/DESCR         |   4 ++++
 math/hs-contravariant/Makefile      |  14 ++++++++++++++
 math/hs-contravariant/buildlink3.mk |  17 +++++++++++++++++
 math/hs-contravariant/distinfo      |   6 ++++++
 4 files changed, 41 insertions(+), 0 deletions(-)

diffs (57 lines):

diff -r bca15b20913f -r 178f1be1796f math/hs-contravariant/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/hs-contravariant/DESCR       Wed Jan 01 02:29:19 2020 +0000
@@ -0,0 +1,4 @@
+Contravariant functors, sometimes referred to colloquially as
+cofunctor, even though the dual of a functor is just a functor. As
+with functor the definition of contravariant for a given ADT is
+unambiguous.
diff -r bca15b20913f -r 178f1be1796f math/hs-contravariant/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/hs-contravariant/Makefile    Wed Jan 01 02:29:19 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2020/01/01 02:29:19 pho Exp $
+
+DISTNAME=      contravariant-1.5.2
+CATEGORIES=    math
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Contravariant functors
+LICENSE=       modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../devel/hs-StateVar/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bca15b20913f -r 178f1be1796f math/hs-contravariant/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/hs-contravariant/buildlink3.mk       Wed Jan 01 02:29:19 2020 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/01 02:29:19 pho Exp $
+
+BUILDLINK_TREE+=       hs-contravariant
+
+.if !defined(HS_CONTRAVARIANT_BUILDLINK3_MK)
+HS_CONTRAVARIANT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-contravariant+=       hs-contravariant>=1.5.2
+BUILDLINK_ABI_DEPENDS.hs-contravariant+=       hs-contravariant>=1.5.2
+BUILDLINK_PKGSRCDIR.hs-contravariant?= ../../math/hs-contravariant
+
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../devel/hs-StateVar/buildlink3.mk"
+.endif # HS_CONTRAVARIANT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-contravariant
diff -r bca15b20913f -r 178f1be1796f math/hs-contravariant/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/hs-contravariant/distinfo    Wed Jan 01 02:29:19 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/01 02:29:19 pho Exp $
+
+SHA1 (contravariant-1.5.2.tar.gz) = 21782e04bd877921b13ba9cbf5a83132a6260bf8
+RMD160 (contravariant-1.5.2.tar.gz) = 142d8aa32515fe8db59c3ecde43b337c72343e75
+SHA512 (contravariant-1.5.2.tar.gz) = f59cfbb2c7b1dec7532c3ffb260b5788fc3fe160ad730c1b49ff85d57cc46c4af24e37ecc8cd46df112ff1e92b5b03f2064b81f8ccda88465e1fe695331f5410
+Size (contravariant-1.5.2.tar.gz) = 16006 bytes



Home | Main Index | Thread Index | Old Index