pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/hs-semigroupoids



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Jan  3 05:15:10 UTC 2020

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

Log Message:
Import semigroupoids-5.3.4 from wip

Provides a wide array of (semi)groupoids and operations for working with them.

A Semigroupoid is a Category without the requirement of identity arrows
for every object in the category.

A Category is any Semigroupoid for which the Yoneda lemma holds.

When working with comonads you often have the <*> portion of an Applicative,
but not the pure. This was captured in Uustalu and Vene's
"Essence of Dataflow Programming" in the form of the ComonadZip class
in the days before Applicative. Apply provides a weaker invariant,
but for the comonads used for data flow programming
(found in the streams package), this invariant is preserved.
Applicative function composition forms a semigroupoid.

Similarly many structures are nearly a comonad, but not quite,
for instance lists provide a reasonable extend operation in the form of tails,
but do not always contain a value.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/hs-semigroupoids/DESCR \
    pkgsrc/math/hs-semigroupoids/Makefile \
    pkgsrc/math/hs-semigroupoids/buildlink3.mk \
    pkgsrc/math/hs-semigroupoids/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-semigroupoids/DESCR
diff -u /dev/null pkgsrc/math/hs-semigroupoids/DESCR:1.1
--- /dev/null   Fri Jan  3 05:15:10 2020
+++ pkgsrc/math/hs-semigroupoids/DESCR  Fri Jan  3 05:15:10 2020
@@ -0,0 +1,18 @@
+Provides a wide array of (semi)groupoids and operations for working with them.
+
+A Semigroupoid is a Category without the requirement of identity arrows
+for every object in the category.
+
+A Category is any Semigroupoid for which the Yoneda lemma holds.
+
+When working with comonads you often have the <*> portion of an Applicative,
+but not the pure. This was captured in Uustalu and Vene's
+"Essence of Dataflow Programming" in the form of the ComonadZip class
+in the days before Applicative. Apply provides a weaker invariant,
+but for the comonads used for data flow programming
+(found in the streams package), this invariant is preserved.
+Applicative function composition forms a semigroupoid.
+
+Similarly many structures are nearly a comonad, but not quite,
+for instance lists provide a reasonable extend operation in the form of tails,
+but do not always contain a value.
Index: pkgsrc/math/hs-semigroupoids/Makefile
diff -u /dev/null pkgsrc/math/hs-semigroupoids/Makefile:1.1
--- /dev/null   Fri Jan  3 05:15:10 2020
+++ pkgsrc/math/hs-semigroupoids/Makefile       Fri Jan  3 05:15:10 2020
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2020/01/03 05:15:10 pho Exp $
+
+DISTNAME=      semigroupoids-5.3.4
+CATEGORIES=    math
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Semigroupoids: Category sans id
+LICENSE=       modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-base-orphans/buildlink3.mk"
+.include "../../math/hs-bifunctors/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../math/hs-contravariant/buildlink3.mk"
+.include "../../math/hs-distributive/buildlink3.mk"
+.include "../../math/hs-comonad/buildlink3.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/hs-semigroupoids/buildlink3.mk
diff -u /dev/null pkgsrc/math/hs-semigroupoids/buildlink3.mk:1.1
--- /dev/null   Fri Jan  3 05:15:10 2020
+++ pkgsrc/math/hs-semigroupoids/buildlink3.mk  Fri Jan  3 05:15:10 2020
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/03 05:15:10 pho Exp $
+
+BUILDLINK_TREE+=       hs-semigroupoids
+
+.if !defined(HS_SEMIGROUPOIDS_BUILDLINK3_MK)
+HS_SEMIGROUPOIDS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-semigroupoids+=       hs-semigroupoids>=5.3.4
+BUILDLINK_ABI_DEPENDS.hs-semigroupoids+=       hs-semigroupoids>=5.3.4
+BUILDLINK_PKGSRCDIR.hs-semigroupoids?= ../../math/hs-semigroupoids
+
+.include "../../devel/hs-base-orphans/buildlink3.mk"
+.include "../../math/hs-bifunctors/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
+.include "../../math/hs-contravariant/buildlink3.mk"
+.include "../../math/hs-distributive/buildlink3.mk"
+.include "../../math/hs-comonad/buildlink3.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.endif # HS_SEMIGROUPOIDS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-semigroupoids
Index: pkgsrc/math/hs-semigroupoids/distinfo
diff -u /dev/null pkgsrc/math/hs-semigroupoids/distinfo:1.1
--- /dev/null   Fri Jan  3 05:15:10 2020
+++ pkgsrc/math/hs-semigroupoids/distinfo       Fri Jan  3 05:15:10 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/03 05:15:10 pho Exp $
+
+SHA1 (semigroupoids-5.3.4.tar.gz) = 18340c81e2895e44ed028fc7e8217ebd60a201f5
+RMD160 (semigroupoids-5.3.4.tar.gz) = f21dd91241a6c9b79ae8d82f7c941814f4e25967
+SHA512 (semigroupoids-5.3.4.tar.gz) = b4053a856e1c2d3f20f984216f008ff264cedd2ccc3cc39ca3b70bc296d81ea8c1e6dd655bb8a6d1b9a44084e02d74a26cd4eb7264e4732e98be3ec351dc6e3a
+Size (semigroupoids-5.3.4.tar.gz) = 26307 bytes



Home | Main Index | Thread Index | Old Index