pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-focus devel/hs-focus: import hs-focus-1.0.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/31254ef78dc0
branches: trunk
changeset: 373999:31254ef78dc0
user: pho <pho%pkgsrc.org@localhost>
date: Wed Feb 16 05:08:34 2022 +0000
description:
devel/hs-focus: import hs-focus-1.0.3
An API for construction of free-form strategies of access and manipulation
of elements of arbitrary data structures. It allows to implement efficient
composite patterns, e.g., a simultaneous update and lookup of an element,
and even more complex things.
Strategies are meant to be interpreted by the host data structure
libraries. Thus they allow to implement all access and modification
patterns of a data structure with just a single function, which interprets
strategies.
This library provides pure and monadic interfaces, so it supports both
immutable and mutable data structures.
diffstat:
devel/hs-focus/DESCR | 12 ++++++++++++
devel/hs-focus/Makefile | 11 +++++++++++
devel/hs-focus/PLIST | 22 ++++++++++++++++++++++
devel/hs-focus/buildlink3.mk | 13 +++++++++++++
devel/hs-focus/distinfo | 5 +++++
5 files changed, 63 insertions(+), 0 deletions(-)
diffs (83 lines):
diff -r c7f824d15a54 -r 31254ef78dc0 devel/hs-focus/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-focus/DESCR Wed Feb 16 05:08:34 2022 +0000
@@ -0,0 +1,12 @@
+An API for construction of free-form strategies of access and manipulation
+of elements of arbitrary data structures. It allows to implement efficient
+composite patterns, e.g., a simultaneous update and lookup of an element,
+and even more complex things.
+
+Strategies are meant to be interpreted by the host data structure
+libraries. Thus they allow to implement all access and modification
+patterns of a data structure with just a single function, which interprets
+strategies.
+
+This library provides pure and monadic interfaces, so it supports both
+immutable and mutable data structures.
diff -r c7f824d15a54 -r 31254ef78dc0 devel/hs-focus/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-focus/Makefile Wed Feb 16 05:08:34 2022 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 05:08:34 pho Exp $
+
+DISTNAME= focus-1.0.3
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= General abstraction for manipulating elements of containers
+LICENSE= mit
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c7f824d15a54 -r 31254ef78dc0 devel/hs-focus/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-focus/PLIST Wed Feb 16 05:08:34 2022 +0000
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 05:08:34 pho Exp $
+lib/focus-${PKGVERSION}/${HS_VERSION}/package-description
+lib/focus-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Focus.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Focus.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Focus.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Focus/Prelude.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Focus/Prelude.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Focus/Prelude.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/focus-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/focus-${PKGVERSION}/html/Focus.html
+share/doc/${HS_PLATFORM}/focus-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/focus-${PKGVERSION}/html/focus.haddock
+share/doc/${HS_PLATFORM}/focus-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/focus-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/focus-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/focus-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/focus-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/focus-${PKGVERSION}/html/synopsis.png
diff -r c7f824d15a54 -r 31254ef78dc0 devel/hs-focus/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-focus/buildlink3.mk Wed Feb 16 05:08:34 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 05:08:34 pho Exp $
+
+BUILDLINK_TREE+= hs-focus
+
+.if !defined(HS_FOCUS_BUILDLINK3_MK)
+HS_FOCUS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-focus+= hs-focus>=1.0.3
+BUILDLINK_ABI_DEPENDS.hs-focus+= hs-focus>=1.0.3
+BUILDLINK_PKGSRCDIR.hs-focus?= ../../devel/hs-focus
+.endif # HS_FOCUS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-focus
diff -r c7f824d15a54 -r 31254ef78dc0 devel/hs-focus/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-focus/distinfo Wed Feb 16 05:08:34 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 05:08:34 pho Exp $
+
+BLAKE2s (focus-1.0.3.tar.gz) = 395155041a06cb831cecb3822e287c7ed893a89a36a9edfc0cfafaf7e8db774d
+SHA512 (focus-1.0.3.tar.gz) = c5dc9a0c683ddbfbe59888bd772e48f38eb2651e2966c4208559e81efaab198ce0e808b35d78e86135daea1d4033f3dc12d221432a29b511e3605e5262e9c52e
+Size (focus-1.0.3.tar.gz) = 6319 bytes
Home |
Main Index |
Thread Index |
Old Index