pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/hs-comonad



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Jan  3 04:36:38 UTC 2020

Added Files:
        pkgsrc/math/hs-comonad: DESCR Makefile buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/hs-comonad/DESCR \
    pkgsrc/math/hs-comonad/Makefile pkgsrc/math/hs-comonad/buildlink3.mk \
    pkgsrc/math/hs-comonad/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/math/hs-comonad/DESCR
diff -u /dev/null pkgsrc/math/hs-comonad/DESCR:1.1
--- /dev/null   Fri Jan  3 04:36:38 2020
+++ pkgsrc/math/hs-comonad/DESCR        Fri Jan  3 04:36:38 2020
@@ -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.
Index: pkgsrc/math/hs-comonad/Makefile
diff -u /dev/null pkgsrc/math/hs-comonad/Makefile:1.1
--- /dev/null   Fri Jan  3 04:36:38 2020
+++ pkgsrc/math/hs-comonad/Makefile     Fri Jan  3 04:36:38 2020
@@ -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"
Index: pkgsrc/math/hs-comonad/buildlink3.mk
diff -u /dev/null pkgsrc/math/hs-comonad/buildlink3.mk:1.1
--- /dev/null   Fri Jan  3 04:36:38 2020
+++ pkgsrc/math/hs-comonad/buildlink3.mk        Fri Jan  3 04:36:38 2020
@@ -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
Index: pkgsrc/math/hs-comonad/distinfo
diff -u /dev/null pkgsrc/math/hs-comonad/distinfo:1.1
--- /dev/null   Fri Jan  3 04:36:38 2020
+++ pkgsrc/math/hs-comonad/distinfo     Fri Jan  3 04:36:38 2020
@@ -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