pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-strict Import strict-0.4.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/852ecbc8bacc
branches: trunk
changeset: 450907:852ecbc8bacc
user: pho <pho%pkgsrc.org@localhost>
date: Fri Apr 23 08:24:36 2021 +0000
description:
Import strict-0.4.0.1
diffstat:
devel/hs-strict/DESCR | 14 ++++++++++++++
devel/hs-strict/Makefile | 14 ++++++++++++++
devel/hs-strict/PLIST | 43 +++++++++++++++++++++++++++++++++++++++++++
devel/hs-strict/buildlink3.mk | 17 +++++++++++++++++
devel/hs-strict/distinfo | 6 ++++++
5 files changed, 94 insertions(+), 0 deletions(-)
diffs (114 lines):
diff -r e7970b4f75c7 -r 852ecbc8bacc devel/hs-strict/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-strict/DESCR Fri Apr 23 08:24:36 2021 +0000
@@ -0,0 +1,14 @@
+This package provides strict versions of some standard Haskell data
+types (pairs, Maybe and Either). It also contains strict IO
+operations.
+
+It is common knowledge that lazy datastructures can lead to
+space-leaks. This problem is particularly prominent, when using lazy
+datastructures to store the state of a long-running application in
+memory. One common solution to this problem is to use seq and its
+variants in every piece of code that updates your state. However a
+much easier solution is to use fully strict types to store such state
+values. By "fully strict types" we mean types for whose values it
+holds that, if they are in weak-head normal form, then they are also
+in normal form. Intuitively, this means that values of fully strict
+types cannot contain unevaluated thunks.
diff -r e7970b4f75c7 -r 852ecbc8bacc devel/hs-strict/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-strict/Makefile Fri Apr 23 08:24:36 2021 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2021/04/23 08:24:36 pho Exp $
+
+DISTNAME= strict-0.4.0.1
+CATEGORIES= devel
+
+MAINTAINER= pho%cielonegro.org@localhost
+COMMENT= Strict data types and String IO
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-assoc/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-these/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e7970b4f75c7 -r 852ecbc8bacc devel/hs-strict/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-strict/PLIST Fri Apr 23 08:24:36 2021 +0000
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/23 08:24:36 pho Exp $
+lib/strict-${PKGVERSION}/${HS_VERSION}/package-description
+lib/strict-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Classes.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Classes.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Classes.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Either.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Either.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Either.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Maybe.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Maybe.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Maybe.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/These.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/These.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/These.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Tuple.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Tuple.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Strict/Tuple.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/IO/Strict.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/IO/Strict.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/IO/Strict.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}/strict-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/Data-Strict-Classes.html
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/Data-Strict-Either.html
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/Data-Strict-Maybe.html
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/Data-Strict-These.html
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/Data-Strict-Tuple.html
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/Data-Strict.html
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/System-IO-Strict.html
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/strict.haddock
+share/doc/${HS_PLATFORM}/strict-${PKGVERSION}/html/synopsis.png
diff -r e7970b4f75c7 -r 852ecbc8bacc devel/hs-strict/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-strict/buildlink3.mk Fri Apr 23 08:24:36 2021 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/04/23 08:24:36 pho Exp $
+
+BUILDLINK_TREE+= hs-strict
+
+.if !defined(HS_STRICT_BUILDLINK3_MK)
+HS_STRICT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-strict+= hs-strict>=0.4.0
+BUILDLINK_ABI_DEPENDS.hs-strict+= hs-strict>=0.4.0.1
+BUILDLINK_PKGSRCDIR.hs-strict?= ../../devel/hs-strict
+
+.include "../../devel/hs-assoc/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-these/buildlink3.mk"
+.endif # HS_STRICT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-strict
diff -r e7970b4f75c7 -r 852ecbc8bacc devel/hs-strict/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-strict/distinfo Fri Apr 23 08:24:36 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/04/23 08:24:36 pho Exp $
+
+SHA1 (strict-0.4.0.1.tar.gz) = a1d0065afbc280a71e03ae5f7c53dddcd3c56e70
+RMD160 (strict-0.4.0.1.tar.gz) = b0022d54dc33b9b410aaa91bbeb21984c4169c21
+SHA512 (strict-0.4.0.1.tar.gz) = e0c37396fa507ad4d03e46ce4a02ec5bacbd7add75ca551433671871d3e7dde0eb0c620182904d1bdeb7b80e1b311a70f36030cbeae63d8776059150fef30235
+Size (strict-0.4.0.1.tar.gz) = 12488 bytes
Home |
Main Index |
Thread Index |
Old Index