[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/22: gnu: Add ghc-basic-prelude.
From: |
guix-commits |
Subject: |
05/22: gnu: Add ghc-basic-prelude. |
Date: |
Sun, 29 Mar 2020 16:37:46 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit ec8491b0319f417529ea6075d63e5a7782dc69f9
Author: Alexandru-Sergiu Marton <address@hidden>
AuthorDate: Wed Jan 8 11:33:35 2020 +0200
gnu: Add ghc-basic-prelude.
* gnu/packages/haskell-xyz.scm (ghc-basic-prelude): New variable.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/haskell-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 1e65581..4ade103 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -907,6 +907,45 @@ stand for certain ASCII character sequences, i.e. →
instead of @code{->},
∀ instead of @code{forall} and many others.")
(license license:bsd-3)))
+(define-public ghc-basic-prelude
+ (package
+ (name "ghc-basic-prelude")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/basic-prelude/"
+ "basic-prelude-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-hashable" ,ghc-hashable)
+ ("ghc-unordered-containers"
+ ,ghc-unordered-containers)
+ ("ghc-vector" ,ghc-vector)))
+ (home-page "https://github.com/snoyberg/basic-prelude#readme")
+ (synopsis "Enhanced core prelude; a common foundation for alternate
preludes")
+ (description
+ "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.")
+ (license license:expat)))
+
(define-public ghc-bifunctors
(package
(name "ghc-bifunctors")
- 02/22: gnu: Add apply-refact., (continued)
- 02/22: gnu: Add apply-refact., guix-commits, 2020/03/29
- 13/22: gnu: ghc-scalpel: Fix typo in description., guix-commits, 2020/03/29
- 22/22: gnu: font-jetbrains-mono: Update to 1.0.3., guix-commits, 2020/03/29
- 14/22: gnu: ghc-yesod-persistent: Update to 1.6.0.4., guix-commits, 2020/03/29
- 09/22: gnu: ghc-persistent: Update to 2.10.4., guix-commits, 2020/03/29
- 18/22: gnu: Add vl1-emulator., guix-commits, 2020/03/29
- 19/22: gnu: Add regrader., guix-commits, 2020/03/29
- 16/22: gnu: emacs-next: Add harfbuzz (text shaping engine) to inputs., guix-commits, 2020/03/29
- 15/22: gnu: ghc-esqueleto: Update to 3.3.1.1., guix-commits, 2020/03/29
- 06/22: gnu: Add ghc-nonce., guix-commits, 2020/03/29
- 05/22: gnu: Add ghc-basic-prelude.,
guix-commits <=
- 17/22: gnu: python-typing-extensions: Update to 3.7.4.1., guix-commits, 2020/03/29
- 20/22: gnu: Add fogpad., guix-commits, 2020/03/29
- 21/22: gnu: emacs-helm-org-contacts: Update to 20200319., guix-commits, 2020/03/29