pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-classy-prelude devel/hs-classy-prelude: impor...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b74a637e80b2
branches: trunk
changeset: 374645:b74a637e80b2
user: pho <pho%pkgsrc.org@localhost>
date: Thu Feb 24 01:17:02 2022 +0000
description:
devel/hs-classy-prelude: import hs-classy-prelude-1.5.0.2
A better Prelude. Haskell's Prelude needs to maintain backwards
compatibility and has many aspects that no longer represents best
practice. The goals of classy-prelude are:
* remove all partial functions
* modernize data structures
* generally use Text instead of String
* encourage the use of appropriate data structures such as Vectors or
HashMaps instead of always using lists and associated lists
* reduce import lists and the need for qualified imports
classy-prelude should only be used by application developers. Library
authors should consider using mono-traversable, which classy-prelude builds
upon.
diffstat:
devel/hs-classy-prelude/DESCR | 14 ++++++++
devel/hs-classy-prelude/Makefile | 27 +++++++++++++++
devel/hs-classy-prelude/PLIST | 61 +++++++++++++++++++++++++++++++++++
devel/hs-classy-prelude/buildlink3.mk | 30 +++++++++++++++++
devel/hs-classy-prelude/distinfo | 5 ++
5 files changed, 137 insertions(+), 0 deletions(-)
diffs (157 lines):
diff -r d8b4ff71188c -r b74a637e80b2 devel/hs-classy-prelude/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-classy-prelude/DESCR Thu Feb 24 01:17:02 2022 +0000
@@ -0,0 +1,14 @@
+A better Prelude. Haskell's Prelude needs to maintain backwards
+compatibility and has many aspects that no longer represents best
+practice. The goals of classy-prelude are:
+
+* remove all partial functions
+* modernize data structures
+ * generally use Text instead of String
+ * encourage the use of appropriate data structures such as Vectors or
+ HashMaps instead of always using lists and associated lists
+* reduce import lists and the need for qualified imports
+
+classy-prelude should only be used by application developers. Library
+authors should consider using mono-traversable, which classy-prelude builds
+upon.
diff -r d8b4ff71188c -r b74a637e80b2 devel/hs-classy-prelude/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-classy-prelude/Makefile Thu Feb 24 01:17:02 2022 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2022/02/24 01:17:02 pho Exp $
+
+DISTNAME= classy-prelude-1.5.0.2
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Typeclass-based Prelude
+LICENSE= mit
+
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../devel/hs-basic-prelude/buildlink3.mk"
+.include "../../math/hs-bifunctors/buildlink3.mk"
+.include "../../devel/hs-chunked-data/buildlink3.mk"
+.include "../../devel/hs-dlist/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-mono-traversable/buildlink3.mk"
+.include "../../devel/hs-mono-traversable-instances/buildlink3.mk"
+.include "../../devel/hs-mutable-containers/buildlink3.mk"
+.include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../devel/hs-say/buildlink3.mk"
+.include "../../devel/hs-stm-chans/buildlink3.mk"
+.include "../../devel/hs-unliftio/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.include "../../devel/hs-vector-instances/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d8b4ff71188c -r b74a637e80b2 devel/hs-classy-prelude/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-classy-prelude/PLIST Thu Feb 24 01:17:02 2022 +0000
@@ -0,0 +1,61 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/24 01:17:02 pho Exp $
+lib/classy-prelude-${PKGVERSION}/${HS_VERSION}/package-description
+lib/classy-prelude-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/ClassyPrelude.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/ClassyPrelude.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/ClassyPrelude.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_classy_prelude.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_classy_prelude.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_classy_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}/classy-prelude-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/ClassyPrelude.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/classy-prelude.haddock
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-124.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-36.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-38.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-42.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-43.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-45.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-46.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-47.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-60.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-61.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-62.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-92.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-94.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-A.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-All.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-B.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-C.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-D.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-E.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-F.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-G.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-H.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-I.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-J.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-K.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-L.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-M.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-N.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-O.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-P.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-Q.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-R.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-S.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-T.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-U.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-V.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-W.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-Y.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index-Z.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/classy-prelude-${PKGVERSION}/html/synopsis.png
diff -r d8b4ff71188c -r b74a637e80b2 devel/hs-classy-prelude/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-classy-prelude/buildlink3.mk Thu Feb 24 01:17:02 2022 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/24 01:17:02 pho Exp $
+
+BUILDLINK_TREE+= hs-classy-prelude
+
+.if !defined(HS_CLASSY_PRELUDE_BUILDLINK3_MK)
+HS_CLASSY_PRELUDE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-classy-prelude+= hs-classy-prelude>=1.5.0
+BUILDLINK_ABI_DEPENDS.hs-classy-prelude+= hs-classy-prelude>=1.5.0.2
+BUILDLINK_PKGSRCDIR.hs-classy-prelude?= ../../devel/hs-classy-prelude
+
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../devel/hs-basic-prelude/buildlink3.mk"
+.include "../../math/hs-bifunctors/buildlink3.mk"
+.include "../../devel/hs-chunked-data/buildlink3.mk"
+.include "../../devel/hs-dlist/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-mono-traversable/buildlink3.mk"
+.include "../../devel/hs-mono-traversable-instances/buildlink3.mk"
+.include "../../devel/hs-mutable-containers/buildlink3.mk"
+.include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../devel/hs-say/buildlink3.mk"
+.include "../../devel/hs-stm-chans/buildlink3.mk"
+.include "../../devel/hs-unliftio/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.include "../../devel/hs-vector-instances/buildlink3.mk"
+.endif # HS_CLASSY_PRELUDE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-classy-prelude
diff -r d8b4ff71188c -r b74a637e80b2 devel/hs-classy-prelude/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-classy-prelude/distinfo Thu Feb 24 01:17:02 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/24 01:17:02 pho Exp $
+
+BLAKE2s (classy-prelude-1.5.0.2.tar.gz) = 270820662263f9ae5b8f8318560965f72145bba75c5b8b89dd0459773cc76564
+SHA512 (classy-prelude-1.5.0.2.tar.gz) = 4cc39f6da6f10e38a82fa189445df3dfc9ae2383fba6c6142dcabf4ed65fa8cd7784618d44fe8f2f498dda7ef0ea004853adcde932817098d67ee3558707b62d
+Size (classy-prelude-1.5.0.2.tar.gz) = 12142 bytes
Home |
Main Index |
Thread Index |
Old Index