From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SJSEK078uGCINQEAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 17:59:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UMe8Jk78uGB3BAAAbx9fmQ (envelope-from ) for ; Thu, 03 Jun 2021 15:59:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5DCD725FFC for ; Thu, 3 Jun 2021 17:59:10 +0200 (CEST) Received: from localhost ([::1]:48878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lopkT-0007Nz-Cy for larch@yhetil.org; Thu, 03 Jun 2021 11:59:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lopkN-0007MJ-0G for guix-patches@gnu.org; Thu, 03 Jun 2021 11:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33038) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lopkM-0006f4-P5 for guix-patches@gnu.org; Thu, 03 Jun 2021 11:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lopkM-0001wv-NR for guix-patches@gnu.org; Thu, 03 Jun 2021 11:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48813] [PATCH 3/8] gnu: Add ghc-multistate. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Jun 2021 15:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48813 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48813@debbugs.gnu.org Received: via spool by 48813-submit@debbugs.gnu.org id=B48813.16227358937364 (code B ref 48813); Thu, 03 Jun 2021 15:59:02 +0000 Received: (at 48813) by debbugs.gnu.org; 3 Jun 2021 15:58:13 +0000 Received: from localhost ([127.0.0.1]:44568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lopjZ-0001uh-AU for submit@debbugs.gnu.org; Thu, 03 Jun 2021 11:58:13 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:53372 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lopjX-0001tw-Cy for 48813@debbugs.gnu.org; Thu, 03 Jun 2021 11:58:11 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1622735885; bh=9F//q/ZyMdeacViTiSwve6RLT9/VKAFu3ZmGxc+e2uw=; h=From:To:Subject:In-Reply-To:References:Date; b=IUzgqOkXQKothTt9lXfRipfF25Amg6AbokoEP/H45vp7nkCFxTL0XlKpFbbuxP7tO stDNen7mBUiF09Ofr1oM+asbtZaScRAtu/cUypl8fnymboGOvnZNO51yhqLUEtccba m+jLRpPIfkrJY51fo9mUFAoPMrfwZadxLfpad6ek= In-Reply-To: References: Message-Id: <04d86d2998b9bd069e6e9974276838fbdcafac0b.1622735640.git.public@yoctocell.xyz> Date: Thu, 03 Jun 2021 17:58:05 +0200 MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622735950; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=v2tkWDGtXdmX4YCRv5jlcTasYQpCsX5piprvRxHzp7c=; b=p5IkS8Rp9t0BTYoRBAdvlY4K8FNf/Rdwmsnmg9duLwYOnBnl+57wfyM3Jqr5zMWmhWgGWs sh7kkvufVy71lEXNfyE9thyYVu18CcFHrCS+mKyDdb/ooJjlgStQ/PexpFB1hM6NJfyLVQ a9D1GIoSxQe5Bt+VG5w1ikfflHfmkcdAnhTOj8bI7379m2bxXw661CyHtk87PRpqEbcJOE R/jEs5piJZh9d/+UdDetu61o46DZFjPb4r+qfaIQOh5TBJ1L469wchs+8pEdpKDQ66VoRn AmpUO6grNKQrndxbzl3tDsWwxwwIGHDsEEH6uuRAJYxDxC8+zBJe/+tXS8+SaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622735950; a=rsa-sha256; cv=none; b=St77m/WD6jciXIVLrXjac7n4cjqI+YEMqZ4uxThAFzHBd7PyUoWrL45tYO14TTiC0cHUTt MvibetuAcJSbEePj7G3QNSgtPqcc4SZme69shFGm/92+caijhMubP673kiE+QZMATJ2+En 11lHlHP4rq3nQ9siKFRV2xCBFqI56xt239lZ4YgXN+tCuB0CeGLUzmoQ3hc/VVy3IDrbUH P1bJlXZZoEGoXK1HCcUuXG9LTngzRa6uXnX0T/i9y8zVcvvPY6zK11hUiPAMx9qfe/9Gid xWJtcV774dnoN+/jTVHfHrd7F8kvF1FxtyrPmbYlmpVi8e5SKJF21kmaYOLL9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=IUzgqOkX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=IUzgqOkX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5DCD725FFC X-Spam-Score: 1.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: JXjZcuvhA0qP * gnu/packages/haskell-xyz.scm (ghc-multistate): New variable. --- gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 98093216ee..405fe63a74 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8384,6 +8384,37 @@ Therefore, you may have to declare @code{import Control.Monad.Except ()} at the top of your file to get all of the ExceptT instances in scope.") (license license:bsd-3))) +(define-public ghc-multistate + (package + (name "ghc-multistate") + (version "0.8.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/multistate/multistate-" + version + ".tar.gz")) + (sha256 + (base32 + "0hypksjacpjgpkgvjn76fd5rgdz7hi6ri36ihdy0bdhpi83jnhn5")))) + (build-system haskell-build-system) + (inputs + `(("ghc-tagged" ,ghc-tagged) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-monad-control" ,ghc-monad-control))) + (native-inputs `(("ghc-hspec" ,ghc-hspec))) + (home-page "https://github.com/lspitzner/multistate") + (synopsis "Similar to mtl's ReaderT/WriterT/StateT, but more than one +contained value/type.") + (description "When using multiple Read/Write/State transformers in the +same monad stack, it becomes necessary to lift the operations in order to +affect a specific transformer. Using heterogeneous lists (and all kinds of +GHC extensions magic), this package provides transformers that remove that +necessity: MultiReaderT/MultiWriterT/MultiStateT/MultiRWST can contain a +heterogeneous list of values.") + (license license:bsd-3))) + (define-public ghc-murmur-hash (package (name "ghc-murmur-hash") -- 2.31.1