From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6E4mAjvk4GEREwEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 03:47:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kOtwNjrk4GG7wAAAG6o9tA (envelope-from ) for ; Fri, 14 Jan 2022 03:47:22 +0100 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 A29A137767 for ; Fri, 14 Jan 2022 03:47:22 +0100 (CET) Received: from localhost ([::1]:41170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8Ccb-0002zy-Rh for larch@yhetil.org; Thu, 13 Jan 2022 21:47:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8CcL-0002Mz-Tg for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8CcL-0007lx-JQ for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8CcL-0000XU-H9 for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH v2 10/24] gnu: Add ghc-unexceptionalio-trans. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 02:47:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50835@debbugs.gnu.org Cc: Stephen Paul Weber , rg@raghavgururajan.name Received: via spool by 50835-submit@debbugs.gnu.org id=B50835.16421283701812 (code B ref 50835); Fri, 14 Jan 2022 02:47:05 +0000 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:10 +0000 Received: from localhost ([127.0.0.1]:35023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbR-0000T3-KZ for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:09 -0500 Received: from singpolyma.net ([192.99.233.116]:47763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000PV-7Y for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:02 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 951CB4861711; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128359; bh=WukWDB4M8SIQqQcE5C2GGIH0sylK7q1TCicr9t2CheE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FNUTiGEGO3/zb8SQtcVRIbf3Cd6yoO5gDDPMeCmA9JMQrTYQ8LBMtKmhmR4FRNmkx b7sElUQoqa4ZiRHxDeEx7mIOF4GzhHL0w8h81VgRxr2p1bqv4gYbws0dONXVrZ3frN BSEdZSd05OFJK2WKhXMZskG+djvxcY/+Ko9eZmkg= From: Stephen Paul Weber Date: Thu, 13 Jan 2022 21:45:32 -0500 Message-Id: <20220114024546.75747-10-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642128442; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=5pZCimMv0IJvELLipKwsHIIVVhuOwSSQC/j0qXphNAI=; b=XBKtediTePmrOgAYaezZ8BNXt6I+iIFqLOXfKPj0l6w4EOEyWPruEAawjX6X4YQpW9MWoI XS3bev+GEb48o1PsqSom0lIIYgD3afa4vA/6cxhxpnQXN4oUcMH8AitJRdFhlUvF/ydfrQ Y/XQKLmwhuOVNCizfITQ20zGt2+0CxKHf1AsUbueaqXAGRs+xyGFpdv2TMUz6tWfS19cJ3 1j6GxT2peBOY17IFjl8Tkwow38kot2GTj5OsDNr0W/oDvZ/x02fTvg8uzpJGOPxB2P5IYL hIKmp+VLLt/DL926Ajt7kUA96JFaj2Of1vrdqOti5XBYAwDJEvObzZWdzdpsbA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642128442; a=rsa-sha256; cv=none; b=gvNam4/5KCUQFe/zLt+U9t1VSGjqA1oEayhIgJMskDFpraZmkJfGd7b3ACyQJNm1ub9SEd cdaA1CayNuWgzI+Oxhp75Xhsc8kdZm0LF120udPDYPqbwb665fI02Tjy8tLrYISnB9uK3X gbZRZBjdgVoH1/MEE+Ov5B+PxOCb408cfcA6qzY/7I4lkzhAPw1LUGraT4dWPPd8Z7c152 gn6YNT5sldJb0aFlJ0I56g/0CDl2ZV8ogbrqtMu1V2tX9ITazeM78/v10tfnRvl3ykiKPT 9P/ZnwhH4+mXyBEA/VlXtpL2MdvuMsnfwEXOqa1lsnQsVlBjqj3ALYL8ZMF6UQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=FNUTiGEG; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=FNUTiGEG; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A29A137767 X-Spam-Score: -0.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: cxduvU62kRUr * gnu/packages/haskell-xyz.scm (ghc-unexceptional-trans): New variable. --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index cf96ca2633..ebee13023e 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13615,6 +13615,33 @@ unbounded @code{Integer} type.") handled safely, this is what you're left with.") (license license:isc))) +(define-public ghc-unexceptionalio-trans + (package + (name "ghc-unexceptionalio-trans") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "unexceptionalio-trans" version)) + (sha256 + (base32 "100sfbrpaldz37a176qpfkk1nx5acyh8pchjmb8g5vhzbhyrqniz")))) + (build-system haskell-build-system) + (inputs (list ghc-unexceptionalio)) + (arguments + `(#:cabal-revision + ("1" "0f15n8hqqczwjrcqxwjp2mrd9iycv53sylv407c95nb6d4hw93ci"))) + (home-page "https://github.com/singpolyma/unexceptionalio-trans") + (synopsis "Wrapper around UnexceptionalIO using monad transformers") + (description + "UnexceptionalIO provides a basic type to witness having caught all +exceptions you can safely handle. This library builds on that with +transformers like ExceptT to provide a more ergonomic tool for many cases. +It is intended that you use qualified imports with this library. + +> import UnexceptionalIO.Trans (UIO) +> import qualified UnexceptionalIO.Trans as UIO") + (license license:isc))) + (define-public ghc-unicode-transforms (package (name "ghc-unicode-transforms") -- 2.30.2