Fri Jan 3 05:15:10 2020 UTC ()
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.


(pho)
diff -r0 -r1.1 pkgsrc/math/hs-semigroupoids/DESCR
diff -r0 -r1.1 pkgsrc/math/hs-semigroupoids/Makefile
diff -r0 -r1.1 pkgsrc/math/hs-semigroupoids/buildlink3.mk
diff -r0 -r1.1 pkgsrc/math/hs-semigroupoids/distinfo

File Added: pkgsrc/math/hs-semigroupoids/DESCR
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.

File Added: pkgsrc/math/hs-semigroupoids/Makefile
# $NetBSD: Makefile,v 1.1 2020/01/03 05:15:10 pho Exp $

DISTNAME=	semigroupoids-5.3.4
CATEGORIES=	math

MAINTAINER=	pho@cielonegro.org
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"

File Added: pkgsrc/math/hs-semigroupoids/buildlink3.mk
# $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

File Added: pkgsrc/math/hs-semigroupoids/distinfo
$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