From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47080) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inPiB-00050c-DN for guix-patches@gnu.org; Fri, 03 Jan 2020 11:22:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inPi6-0001Cd-Sy for guix-patches@gnu.org; Fri, 03 Jan 2020 11:22:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35345) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inPi6-0001Bb-Nu for guix-patches@gnu.org; Fri, 03 Jan 2020 11:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inPi6-0006Qr-JH for guix-patches@gnu.org; Fri, 03 Jan 2020 11:22:02 -0500 Subject: [bug#38897] [PATCH] gnu: Add ghc-pointedlist. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:45300) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inPh6-0004kh-Gi for guix-patches@gnu.org; Fri, 03 Jan 2020 11:21:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inPh4-0006Dp-C7 for guix-patches@gnu.org; Fri, 03 Jan 2020 11:21:00 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:53965) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inPh4-00066T-2L for guix-patches@gnu.org; Fri, 03 Jan 2020 11:20:58 -0500 Received: by mail-wm1-x32a.google.com with SMTP id m24so8842380wmc.3 for ; Fri, 03 Jan 2020 08:20:57 -0800 (PST) From: Alexandru-Sergiu Marton Date: Fri, 3 Jan 2020 18:21:20 +0200 Message-Id: <20200103162120.3936-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. --- 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..835380a69e 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 + "A 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