From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51697) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inf5L-00017o-R3 for guix-patches@gnu.org; Sat, 04 Jan 2020 03:47:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inf5K-0007oI-LF for guix-patches@gnu.org; Sat, 04 Jan 2020 03:47:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36459) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inf5K-0007nV-Gp for guix-patches@gnu.org; Sat, 04 Jan 2020 03:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inf5K-0007ac-Fd for guix-patches@gnu.org; Sat, 04 Jan 2020 03:47:02 -0500 Subject: [bug#38897] [PATCH v2] gnu: Add ghc-pointedlist. References: <20200103162120.3936-1-brown121407@member.fsf.org> In-Reply-To: <20200103162120.3936-1-brown121407@member.fsf.org> Resent-Message-ID: From: Alexandru-Sergiu Marton Date: Sat, 4 Jan 2020 10:46:55 +0200 Message-Id: <20200104084655.4842-1-brown121407@member.fsf.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38897@debbugs.gnu.org Cc: Alexandru-Sergiu Marton * gnu/packages/haskell-xyz.scm (ghc-pointedlist): New variable. --- Fix linter errors. gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 03ae83d50e..3f408d60e3 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8615,6 +8615,31 @@ system dependencies.") functions for the ghc-persistent package.") (license license:expat))) +(define-public ghc-pointedlist + (package + (name "ghc-pointedlist") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/pointedlist/" + "pointedlist-" version ".tar.gz")) + (sha256 + (base32 + "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l")))) + (build-system haskell-build-system) + (home-page + "http://hackage.haskell.org/package/pointedlist") + (synopsis + "Zipper-like comonad which works as a list, tracking a position") + (description + "A PointedList tracks the position in a non-empty list which works +similarly to a zipper. A current item is always required, and therefore +the list may never be empty. A circular PointedList wraps around to the +other end when progressing past the actual edge.") + (license license:bsd-3))) + (define-public ghc-polyparse (package (name "ghc-polyparse") -- 2.24.1