devel/hs-basic-prelude: import hs-basic-prelude-0.7.0

The premise of basic-prelude is that there are a lot of very commonly
desired features missing from the standard Prelude, such as commonly used
operators (<$> and >=>, for instance) and imports for common datatypes
(e.g., ByteString and Vector). At the same time, there are lots of other
components which are more debatable, such as providing polymorphic versions
of common functions.

So basic-prelude is intended to give a common foundation for a number of
alternate preludes. The package provides two modules: CorePrelude provides
the common ground for other preludes to build on top of, while BasicPrelude
exports CorePrelude together with commonly used list functions to provide a
drop-in replacement for the standard Prelude.

Users wishing to have an improved Prelude can use BasicPrelude. Developers
wishing to create a new prelude should use CorePrelude.
This commit is contained in:
pho 2022-02-24 01:02:19 +00:00
parent a7fa8be901
commit ddaf435368
5 changed files with 115 additions and 0 deletions

View file

@ -0,0 +1,15 @@
The premise of basic-prelude is that there are a lot of very commonly
desired features missing from the standard Prelude, such as commonly used
operators (<$> and >=>, for instance) and imports for common datatypes
(e.g., ByteString and Vector). At the same time, there are lots of other
components which are more debatable, such as providing polymorphic versions
of common functions.
So basic-prelude is intended to give a common foundation for a number of
alternate preludes. The package provides two modules: CorePrelude provides
the common ground for other preludes to build on top of, while BasicPrelude
exports CorePrelude together with commonly used list functions to provide a
drop-in replacement for the standard Prelude.
Users wishing to have an improved Prelude can use BasicPrelude. Developers
wishing to create a new prelude should use CorePrelude.

View file

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1 2022/02/24 01:02:19 pho Exp $
DISTNAME= basic-prelude-0.7.0
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Enhanced core prelude; a common foundation for alternate preludes
LICENSE= mit
.include "../../devel/hs-hashable/buildlink3.mk"
.include "../../devel/hs-unordered-containers/buildlink3.mk"
.include "../../devel/hs-vector/buildlink3.mk"
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,64 @@
@comment $NetBSD: PLIST,v 1.1 2022/02/24 01:02:19 pho Exp $
lib/basic-prelude-${PKGVERSION}/${HS_VERSION}/package-description
lib/basic-prelude-${PKGVERSION}/${HS_VERSION}/package-id
lib/${HS_PLATFORM}/${HS_PKGID}/BasicPrelude.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/BasicPrelude.hi
lib/${HS_PLATFORM}/${HS_PKGID}/BasicPrelude.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/CorePrelude.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/CorePrelude.hi
lib/${HS_PLATFORM}/${HS_PKGID}/CorePrelude.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Paths_basic_prelude.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Paths_basic_prelude.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Paths_basic_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}/basic-prelude-${PKGVERSION}/LICENSE
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/BasicPrelude.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/CorePrelude.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/basic-prelude.haddock
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-124.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-33.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-36.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-38.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-42.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-43.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-45.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-46.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-47.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-60.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-61.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-62.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-92.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-94.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-A.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-All.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-B.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-C.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-D.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-E.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-F.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-G.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-H.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-I.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-J.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-L.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-M.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-N.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-O.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-P.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-Q.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-R.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-S.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-T.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-U.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-V.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-W.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index-Z.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/doc-index.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/haddock-bundle.min.js
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/index.html
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/linuwial.css
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/meta.json
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/quick-jump.css
share/doc/${HS_PLATFORM}/basic-prelude-${PKGVERSION}/html/synopsis.png

View file

@ -0,0 +1,17 @@
# $NetBSD: buildlink3.mk,v 1.1 2022/02/24 01:02:19 pho Exp $
BUILDLINK_TREE+= hs-basic-prelude
.if !defined(HS_BASIC_PRELUDE_BUILDLINK3_MK)
HS_BASIC_PRELUDE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-basic-prelude+= hs-basic-prelude>=0.7.0
BUILDLINK_ABI_DEPENDS.hs-basic-prelude+= hs-basic-prelude>=0.7.0
BUILDLINK_PKGSRCDIR.hs-basic-prelude?= ../../devel/hs-basic-prelude
.include "../../devel/hs-hashable/buildlink3.mk"
.include "../../devel/hs-unordered-containers/buildlink3.mk"
.include "../../devel/hs-vector/buildlink3.mk"
.endif # HS_BASIC_PRELUDE_BUILDLINK3_MK
BUILDLINK_TREE+= -hs-basic-prelude

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2022/02/24 01:02:19 pho Exp $
BLAKE2s (basic-prelude-0.7.0.tar.gz) = 4a1f6346043510db4ae7156e0c4e2a9a2589e3e1b5ce0a077f759f9ebda79940
SHA512 (basic-prelude-0.7.0.tar.gz) = 34b62d1cdddb8d5c5ec51f0b9cca8746174f2daf40e5fe0f0188707da1f590844bffccfc6d049e8e161323f541281130aa92700514455a947c503274422e271f
Size (basic-prelude-0.7.0.tar.gz) = 6471 bytes