From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EJZUI+JdnmYAEAEAe85BDQ:P1 (envelope-from ) for ; Mon, 22 Jul 2024 13:25:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id EJZUI+JdnmYAEAEAe85BDQ (envelope-from ) for ; Mon, 22 Jul 2024 15:25:54 +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=NjtfCvF9; 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=1721654754; 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=9MIjaJlolzssgQM7yi2jGJ/aOAc1Usb6UF22Oz0curk=; b=oQxNkPf8qTZprhsdcRQTnFqvqUIq5KbNwjkUrUaiG3eEcL/2Z9jyOy9lG3a0gTbWdXK3XS bmMpUljKbLBbAGnk9TC6JQKKwVBOtuXElVktOEfrbI2F9tySfKBJezHSSYJWPEEkDOr/Xb jRQSr4bGXH4SJpmUdFAA0KKksAg57Q+iMNhKY/OVKambujnPgef9VLJ+FY3qhynk9YhZKu s40F7MucvV4xvXv9przUswlyEOLgHlQAAMITvYOoKyE+bWTjMB8XxuGV24c/obWgQytbad VSDKf+lZtvQI1MU11GUAQE8cnkTQLMFjVGljNEyXV+auR+CcEE7Jdo/GAJf93A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=NjtfCvF9; 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=1721654754; a=rsa-sha256; cv=none; b=mOqHtLqfHyQgPREK/0W9FGyWoLaunEqSLXRUcjbSw2WBawbausPkMW8S24IJcooP0WXCCt g+s2uCGGdnWwUntWCPU6OjDO5F8gxJfUeoYv7P3CColnwV7709ei1Cs9W69m21pZjJoyfZ YofyuHrayy07jqyvNHCwgiojSExhjXCWsKYPrR7oVb/aSNqasdEItoZZ6lA2W9QR8IJvDw w1XhQXFLlYARSeCs8SKfYGQHj3eunplrZ3V0snkRKvTfxkZD+blwaYpHe3TZRSH93yMA6a EiBxdfxlJyvFx0PaNryodyMSZ53bPevcvp48+WLMhZc7SAtqPsxHhkHmd7CF6A== 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 4246212A86 for ; Mon, 22 Jul 2024 15:25:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVrGe-0007Ee-Un; Mon, 22 Jul 2024 07:31:50 -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 1sVrGD-00073d-BS 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 1sVrGD-0007Xs-35 for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:21 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVrGF-0007Cw-IA for guix-patches@gnu.org; Mon, 22 Jul 2024 07:31:23 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44518] [PATCH v3 14/25] gnu: Add ghc-monad-parallel. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jul 2024 11:31:23 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44518 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 44518-submit@debbugs.gnu.org id=B44518.172164787827375 (code B ref 44518); Mon, 22 Jul 2024 11:31:23 +0000 Received: (at 44518) by debbugs.gnu.org; 22 Jul 2024 11:31:18 +0000 Received: from localhost ([127.0.0.1]:57026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrG9-00076p-2Z for submit@debbugs.gnu.org; Mon, 22 Jul 2024 07:31:17 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrFV-0005go-97; Mon, 22 Jul 2024 07:30:38 -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=9MIjaJlolzssgQM7yi2jGJ/aOAc1Usb6UF22Oz0curk=; b=NjtfCvF9oNxzdDIbyxk2Xp5LK3vzzyJrzQLslczJuN+k/76rQpmdUqaj H5OdI1UtirXxVyf80ZPUMbqPgT0jMtowaeNufUqQBiqR/PiHkFHtfFFso HmgZw7IC2x4WBOhc+9m7NcZTTS0D+hiC40CsCfimXaAI0Iu7wrRAr9S8V I=; X-IronPort-AV: E=Sophos;i="6.09,228,1716242400"; d="scan'208";a="92688919" 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:19 +0200 From: Romain GARBAGE Date: Mon, 22 Jul 2024 13:28:11 +0200 Message-ID: <20240722113008.9057-15-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-Migadu-Queue-Id: 4246212A86 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.81 X-Spam-Score: -3.81 X-TUID: jTFLNIgoJAst Message-ID: <20240722112811.OQA59jj-ujSsddJfXZpawJ8Z9BLbxi8YditMbFbOi4w@z> * gnu/packages/haskell-xyz.scm (ghc-monad-parallel): New variable. Change-Id: I39a5b5392a50fb4f6e9e15ed107705486362d021 --- gnu/packages/haskell-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index e29e84aa9b..4d00382ea3 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -7563,6 +7563,28 @@ (define-public ghc-monad-par-extras and other added capabilities layered on top of the @code{Par} monad.") (license license:bsd-3))) +(define-public ghc-monad-parallel + (package + (name "ghc-monad-parallel") + (version "0.8") + (source + (origin + (method url-fetch) + (uri (hackage-uri "monad-parallel" version)) + (sha256 + (base32 "1j905cwc440g7rvbhsdkqf50ag7p2bi6cy2rqsk918rn80fqqra4")))) + (build-system haskell-build-system) + (properties '((upstream-name . "monad-parallel"))) + (inputs (list ghc-parallel ghc-transformers-compat)) + (home-page "https://hub.darcs.net/blamario/SCC.wiki/") + (synopsis "Parallel execution of monadic computations") + (description + "This package defines classes of monads that can perform multiple executions in +parallel and combine their results. For any monad that's an instance of the +class, the package re-implements a subset of the Control.Monad interface, but +with parallel execution.") + (license license:bsd-3))) + (define-public ghc-monadrandom (package (name "ghc-monadrandom") -- 2.45.1