From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YKdmHohRnmawywAA62LTzQ:P1 (envelope-from ) for ; Mon, 22 Jul 2024 12:33:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YKdmHohRnmawywAA62LTzQ (envelope-from ) for ; Mon, 22 Jul 2024 14:33:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=XELV8NGB; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721651592; 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=z1Ax9gw3Sppo1zHbEDcCoPNq1RFnq9GeTg8IeB+3Lbg=; b=QqnhvLyrEPkKj0+NoLwynVMHdhpHWJ8QpBEMudKsMmqnQgkdsW90GHlV9Jx/hHYqGmn3AD DbrL8J+XNZyD7sU7NaPouu1ECbcnJNga9hdSx7xDrGCmNbN5vnJ7sHdKPNHDWMXj5c7cGZ F2umGggh0Oc5v+FEyF8fBR4iXELE2Y5q6TBvJaqWvJc8CulEVtqQ5MxgYjy6G3V6AE1Hbb 5knElpzJDmRi29orZW6gEKl8nnGX9htqcE6laanMfVqkhjuux0Leu+o1w94ZaCykFRWBxh FCLI5LKDYcggmqxVDWDr2sEGL5FVf7JOEBx7g1XGTJXZDD8M0Kio7K/Ogi4ZsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=XELV8NGB; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721651592; a=rsa-sha256; cv=none; b=lSm9i2DQ7kARECdg7CwmVhTBIYOzv9DUGKhUDIk54yNcUNZPWEl2C1aih2tKWpq1z6hH+t V+u2AGgzHlB22tRgNS03tsLwZm1YVqqYHTl8F8SRtGtgQ9sOxDoiHK2db5lGMiSroIsxrA tDcLcMoYIxUXPcwiKdkVbL4J5eB7OteH5Ukg1gakiubaCNX7tOT2vN7TRhzLo/jRyTQncj Wxbzv2YZmHBwbdJl/0B4S8RZwH0dJ6MhGpCMILjnahAnDcVLCobZsjv3xVgN2JaLcxoCkb h4VEBewvePZPr8G6N0rIMzbu69E/0Lpc/6Hf0lhowuFQcLX+banvLCJsv3RHkw== 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 4825671B31 for ; Mon, 22 Jul 2024 14:33:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVrGq-00084c-B6; Mon, 22 Jul 2024 07:32:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVrGC-00072Z-7M for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:22 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVrGB-0007XV-0C for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:19 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVrGD-0007B2-U6 for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:21 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71938] [PATCH v3 12/25] gnu: Add ghc-bimap. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jul 2024 11:31:21 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71938 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 71938-submit@debbugs.gnu.org id=B71938.172164787427142 (code B ref 71938); Mon, 22 Jul 2024 11:31:21 +0000 Received: (at 71938) by debbugs.gnu.org; 22 Jul 2024 11:31:14 +0000 Received: from localhost ([127.0.0.1]:57012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrG5-00072w-W1 for submit@debbugs.gnu.org; Mon, 22 Jul 2024 07:31:14 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrFU-0005dc-BG; Mon, 22 Jul 2024 07:30:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z1Ax9gw3Sppo1zHbEDcCoPNq1RFnq9GeTg8IeB+3Lbg=; b=XELV8NGBXT4B+Hvxtq+nchRId7F7MucZN3yKQCJhCa6q3Ph2h/jDmGHE MjV4pUcBXJ+x93s/mBaQOBujWzBZJI3o4KD+utCkpC0StDuKqFqev2Xyw ac82ldmMGyMH/FhWO6tulL/BNieoQ0XgpDId+qq7EM+Y6jpXXaKaIKDon Q=; X-IronPort-AV: E=Sophos;i="6.09,228,1716242400"; d="scan'208";a="92688915" Received: from unknown (HELO guix-A102.bordeaux.inria.fr) ([193.50.110.122]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2024 13:30:18 +0200 From: Romain GARBAGE Date: Mon, 22 Jul 2024 13:28:09 +0200 Message-ID: <20240722113008.9057-13-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240722113008.9057-1-romain.garbage@inria.fr> References: <20240722113008.9057-1-romain.garbage@inria.fr> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 4.09 X-Migadu-Queue-Id: 4825671B31 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 4.09 X-TUID: DEJESs+GgFZo * gnu/packages/haskell-xyz.scm (ghc-bimap): New variable. Change-Id: Ib6ffebff5417273afaa3a08005aae3445606d6d2 --- gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 3bdc8d6d6b..60d25dd4bf 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -972,6 +972,27 @@ (define-public ghc-bifunctors (description "This package provides bifunctors for Haskell.") (license license:bsd-3))) +(define-public ghc-bimap + (package + (name "ghc-bimap") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "bimap" version)) + (sha256 + (base32 "158cdwk9jwklcfgbn62dqq255i40w13ifggsdps87sxc5q7lpd5h")))) + (build-system haskell-build-system) + (properties '((upstream-name . "bimap"))) + (native-inputs (list ghc-quickcheck)) + (home-page "https://github.com/joelwilliamson/bimap") + (synopsis "Bidirectional mapping between two key types") + (description + "This package provides a data structure representing a bidirectional mapping +between two key types. Each value in the bimap is associated with exactly one +value of the opposite type.") + (license license:bsd-3))) + (define-public ghc-bindings-dsl (package (name "ghc-bindings-dsl") -- 2.45.1