pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/hs-comonad Import comonad-5.0.6 from wip
details: https://anonhg.NetBSD.org/pkgsrc/rev/3a3bfad12346
branches: trunk
changeset: 407260:3a3bfad12346
user: pho <pho%pkgsrc.org@localhost>
date: Fri Jan 03 04:36:38 2020 +0000
description:
Import comonad-5.0.6 from wip
A Comonad is a Functor and provides duals of the Monad "return" and
">>=". Instead of wrapping, you can extract a value from a Comonad.
diffstat:
math/hs-comonad/DESCR | 2 ++
math/hs-comonad/Makefile | 15 +++++++++++++++
math/hs-comonad/buildlink3.mk | 18 ++++++++++++++++++
math/hs-comonad/distinfo | 6 ++++++
4 files changed, 41 insertions(+), 0 deletions(-)
diffs (57 lines):
diff -r 0e00f0ca76a3 -r 3a3bfad12346 math/hs-comonad/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/hs-comonad/DESCR Fri Jan 03 04:36:38 2020 +0000
@@ -0,0 +1,2 @@
+A Comonad is a Functor and provides duals of the Monad "return" and
+">>=". Instead of wrapping, you can extract a value from a Comonad.
diff -r 0e00f0ca76a3 -r 3a3bfad12346 math/hs-comonad/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/hs-comonad/Makefile Fri Jan 03 04:36:38 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/01/03 04:36:38 pho Exp $
+
+DISTNAME= comonad-5.0.6
+CATEGORIES= math
+
+MAINTAINER= pho%cielonegro.org@localhost
+COMMENT= Comonads, dual of Monads
+LICENSE= 2-clause-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../math/hs-distributive/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0e00f0ca76a3 -r 3a3bfad12346 math/hs-comonad/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/hs-comonad/buildlink3.mk Fri Jan 03 04:36:38 2020 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/03 04:36:38 pho Exp $
+
+BUILDLINK_TREE+= hs-comonad
+
+.if !defined(HS_COMONAD_BUILDLINK3_MK)
+HS_COMONAD_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-comonad+= hs-comonad>=5.0.6
+BUILDLINK_ABI_DEPENDS.hs-comonad+= hs-comonad>=5.0.6
+BUILDLINK_PKGSRCDIR.hs-comonad?= ../../math/hs-comonad
+
+.include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../math/hs-distributive/buildlink3.mk"
+.endif # HS_COMONAD_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-comonad
diff -r 0e00f0ca76a3 -r 3a3bfad12346 math/hs-comonad/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/hs-comonad/distinfo Fri Jan 03 04:36:38 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/03 04:36:38 pho Exp $
+
+SHA1 (comonad-5.0.6.tar.gz) = 77e297589210e1d2cb474a67c0ae564f22dbf4bd
+RMD160 (comonad-5.0.6.tar.gz) = 42184384f7a10bdfe4d5689db65dad67d822d226
+SHA512 (comonad-5.0.6.tar.gz) = 0b7fc727a2b972203d1651049a4f4c371a8f134d64d36409d60fbc4d11b7eb9650c79cf917abaa3f66084d7c5e9f32b288862a5e93c3d93c16c11533a446cfa5
+Size (comonad-5.0.6.tar.gz) = 18154 bytes
Home |
Main Index |
Thread Index |
Old Index