pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-managed
Module Name: pkgsrc
Committed By: pho
Date: Thu Feb 24 01:19:09 UTC 2022
Added Files:
pkgsrc/devel/hs-managed: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
devel/hs-managed: import hs-managed-1.0.9
In Haskell you very often acquire values using the with... idiom using
functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a
special case of the ContT monad (from transformers) or the Codensity monad
(from kan-extensions). The main purpose behind this package is to provide a
restricted form of these monads specialized to this unusually common case.
The reason this package defines a specialized version of these types is to:
* be more beginner-friendly,
* simplify inferred types and error messages, and:
* provide some additional type class instances that would otherwise be
orphan instances
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-managed/DESCR \
pkgsrc/devel/hs-managed/Makefile pkgsrc/devel/hs-managed/PLIST \
pkgsrc/devel/hs-managed/buildlink3.mk pkgsrc/devel/hs-managed/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/hs-managed/DESCR
diff -u /dev/null pkgsrc/devel/hs-managed/DESCR:1.1
--- /dev/null Thu Feb 24 01:19:09 2022
+++ pkgsrc/devel/hs-managed/DESCR Thu Feb 24 01:19:09 2022
@@ -0,0 +1,11 @@
+In Haskell you very often acquire values using the with... idiom using
+functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a
+special case of the ContT monad (from transformers) or the Codensity monad
+(from kan-extensions). The main purpose behind this package is to provide a
+restricted form of these monads specialized to this unusually common case.
+
+The reason this package defines a specialized version of these types is to:
+* be more beginner-friendly,
+* simplify inferred types and error messages, and:
+* provide some additional type class instances that would otherwise be
+ orphan instances
Index: pkgsrc/devel/hs-managed/Makefile
diff -u /dev/null pkgsrc/devel/hs-managed/Makefile:1.1
--- /dev/null Thu Feb 24 01:19:09 2022
+++ pkgsrc/devel/hs-managed/Makefile Thu Feb 24 01:19:09 2022
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2022/02/24 01:19:09 pho Exp $
+
+DISTNAME= managed-1.0.9
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Monad for managed values
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-managed/PLIST
diff -u /dev/null pkgsrc/devel/hs-managed/PLIST:1.1
--- /dev/null Thu Feb 24 01:19:09 2022
+++ pkgsrc/devel/hs-managed/PLIST Thu Feb 24 01:19:09 2022
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/24 01:19:09 pho Exp $
+lib/managed-${PKGVERSION}/${HS_VERSION}/package-description
+lib/managed-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Managed.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Managed.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Managed.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Managed/Safe.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Managed/Safe.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Managed/Safe.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/html/Control-Monad-Managed-Safe.html
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/html/Control-Monad-Managed.html
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/html/managed.haddock
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/managed-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-managed/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-managed/buildlink3.mk:1.1
--- /dev/null Thu Feb 24 01:19:09 2022
+++ pkgsrc/devel/hs-managed/buildlink3.mk Thu Feb 24 01:19:09 2022
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/24 01:19:09 pho Exp $
+
+BUILDLINK_TREE+= hs-managed
+
+.if !defined(HS_MANAGED_BUILDLINK3_MK)
+HS_MANAGED_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-managed+= hs-managed>=1.0.9
+BUILDLINK_ABI_DEPENDS.hs-managed+= hs-managed>=1.0.9
+BUILDLINK_PKGSRCDIR.hs-managed?= ../../devel/hs-managed
+.endif # HS_MANAGED_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-managed
Index: pkgsrc/devel/hs-managed/distinfo
diff -u /dev/null pkgsrc/devel/hs-managed/distinfo:1.1
--- /dev/null Thu Feb 24 01:19:09 2022
+++ pkgsrc/devel/hs-managed/distinfo Thu Feb 24 01:19:09 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/24 01:19:09 pho Exp $
+
+BLAKE2s (managed-1.0.9.tar.gz) = b6eeadf2fca785d89cb54a8d6be832d4b19f6ca34cd891b1f2e2a963ffda62f0
+SHA512 (managed-1.0.9.tar.gz) = bba21e18a81fdabfaca7517930c0f186a8a0dfac3b9ba3743b247606df61e2eb803ca0811f31f5936d96fb373def6ff566632d06c235ebc4ca7c5b6f52c0836e
+Size (managed-1.0.9.tar.gz) = 5142 bytes
Home |
Main Index |
Thread Index |
Old Index