From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IEc3OZDwsmFnPgAAgWs5BA (envelope-from ) for ; Fri, 10 Dec 2021 07:15:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qL0ANZDwsmEMdQAAB5/wlQ (envelope-from ) for ; Fri, 10 Dec 2021 06:15:44 +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 9DF56F54B for ; Fri, 10 Dec 2021 07:15:44 +0100 (CET) Received: from localhost ([::1]:56218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvZC3-00010Q-QZ for larch@yhetil.org; Fri, 10 Dec 2021 01:15:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvZBO-0000zq-5m for guix-patches@gnu.org; Fri, 10 Dec 2021 01:15:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvZBN-0007HK-Rn for guix-patches@gnu.org; Fri, 10 Dec 2021 01:15:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvZBN-0001Vu-JJ for guix-patches@gnu.org; Fri, 10 Dec 2021 01:15:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52408] [PATCH 1/5] gnu: Add cl-num-utils. References: In-Reply-To: Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Dec 2021 06:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52408 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52408@debbugs.gnu.org Received: via spool by 52408-submit@debbugs.gnu.org id=B52408.16391168625755 (code B ref 52408); Fri, 10 Dec 2021 06:15:01 +0000 Received: (at 52408) by debbugs.gnu.org; 10 Dec 2021 06:14:22 +0000 Received: from localhost ([127.0.0.1]:45279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvZAk-0001Ul-G4 for submit@debbugs.gnu.org; Fri, 10 Dec 2021 01:14:22 -0500 Received: from mail-oln040092255074.outbound.protection.outlook.com ([40.92.255.74]:16096 helo=APC01-HK2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvZAh-0001UV-Ub for 52408@debbugs.gnu.org; Fri, 10 Dec 2021 01:14:21 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gJoQS1jI+TXticVT2L6yturHaB+tfAJ+eWEpUU3Nb54Gd4OPJD5QdX3oLD2ULppxrAEHF6HnhM1WPmav5jPrO47KwE4AmKO9IadGrbjzq/qPsuExTLS8ieuTgSpeCrQgpIBiwDGClveKmswjSBM3bcyKdAPvhwHbe//geK9iJCJo0JMOpkikw4W1EHyQDR/Hbr+qLjKIzNdAt8TDiKWjSD5GQDrFVj0oORY5cZzd+uXgWxedTWJX/ul557l2vNKb6Idy1A4zdf4K2gUxet7YcL4LO2nhlvJqT36z3D0N8sIlyE86sMSeCs6G6MNFdpFlc1HRrjVnVtsQfFF0xwySLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+AD0fe1xkfaoKmeAzXoxvfwO5qnZTzlMAte4wRMZ5RI=; b=hRMKRBHsZtTjPQN7gZBLOzkE2X6RBhK8cJ2LvE0d7FRB6RmiTm+bMqFh/yjEqDq1Hd1gb5rUNzuISCYs7aBAxbD8LV9Qzl6YP66MTxXB/KvHcd4Hz/AGk0imcBm6P0BYbXi3+AiUw8gcNwp7sl/8xy7w0vwD4GPBpIsW6kkeVxq0S2YGsESYAEHSy2xTsWJ9hpUi2Ow7xrj75EIqA04AhUL8+Q5m3NgDrrih6yKQO5IoR54o7T36/eKhP2Y9pZB7r7Pmul6Um94Fj/0NRz4SAGGz7GtKLB6bcHkOhhszUrkdbi56q8g3qRPPaawtUpqfJUzPWdvXVWfAnmstfUQKBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+AD0fe1xkfaoKmeAzXoxvfwO5qnZTzlMAte4wRMZ5RI=; b=b9nt/XwraaFwas+Lgm2APCITT1Qk4zyl3khD1UNd2xkajGCSnfE6xzwSCVFlvq05aWxpFsZTxuXq3tdYf5pOlfKteoeLhFdwJ14LoiW+bJhK7Cj7wSpDo4RfLEx2Y1IftljuCeDu09doeiFkWMQeIlYHl62txTbqvjvZCOh6y+zHyikBebhiPhbW35WQQJSkMsJAyTzIry3Mmw1AqtlF82+H/CSSR/0hagpNBy5YuRqSD0h5r3BcYZDil8Zeh2ZOigtycqVgkz2JoV5GfPq3ZtMfvhkKvtFp+IvTfkqIezyJ/RGmGf4EYF+t93/iECm0gnFgHaVvx9bUzmQZhul4Rg== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PS2PR01MB2535.apcprd01.prod.exchangelabs.com (2603:1096:300:3d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.20; Fri, 10 Dec 2021 06:14:12 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee%7]) with mapi id 15.20.4755.026; Fri, 10 Dec 2021 06:14:12 +0000 Date: Fri, 10 Dec 2021 06:14:09 +0000 From: Foo Chuan Wei Message-ID: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-TMN: [I27SOVZR8o+NOvr/xkBXUWpTCbtFKctr] X-ClientProxiedBy: SG2PR01CA0195.apcprd01.prod.exchangelabs.com (2603:1096:4:189::17) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211210061409.53cyyjqkph2czw46@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (202.160.35.133) by SG2PR01CA0195.apcprd01.prod.exchangelabs.com (2603:1096:4:189::17) with Microsoft SMTP Server (version=TLS1_2, cipher=) via Frontend Transport; Fri, 10 Dec 2021 06:14:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b8eec467-b7b1-4ce8-562f-08d9bba448c9 X-MS-TrafficTypeDiagnostic: PS2PR01MB2535:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CBBgmCkuXDI+3Au6/hqHv4K12bohzbd5o2ewE776IlFRgZc6YwS55C0HNLU+etEHJVgm+1ilnyQZi8mcvpfX8kq3MRg4DrUXtJKEFuWX4M0zZ9FFWCV6oxKyBYbw7bwOVs132gy1Ir1vqE0Jvp2t4NSLGu9iQT0+szCiXHhpkKpydu7a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rMA3IhKeOWP6yfoba+ku42EwBJGzoXj4aNVZTncD9ymx1cJvV8yLhuhBuK4SxGtZpgTZNeNk16k6WJWZB/jxo1h2JuUU1X0/MYV9G3gXh2+sB5cbJPU7EUv7TP4ZO2kqBzIfXUJuXXYH3SY4wm+u5ZxEKk3crUL53aw3p32+tp/cWDP7ukKKx9/4eW9AVofhXiEZub7xvJzuoWDBuV9T1TxkbKn5BZTbu/LeJq0E0ekXycxzl2ym0EvKWsaLHmSLpPBpb0ECWQFI9lcDAZsyd7mpvPwvsx+IAYtYYy6x6OQDS0HlFQ6EM9uZoRpUAsm0TGvWBxLEOyWTruRr7R+1cQeh/+3ywylbH9ySAgcHM4s+PAjL/1IP5A0iKwOCaFlDEd l0p3SKGqYUkDQcEchsiE0w== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: b8eec467-b7b1-4ce8-562f-08d9bba448c9 X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2021 06:14:12.2279 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS2PR01MB2535 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639116944; 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=+AD0fe1xkfaoKmeAzXoxvfwO5qnZTzlMAte4wRMZ5RI=; b=ri8JEo55hKsdJv3kHOaHxyvEPhzy0nS/cyCNWest/hp8kbjVqvwQgrf/TYgbqZ70ogYGgG nUxh+PyAL42JJNki2Lii7YtoG5nw2uaVeE37pMX3NDdlmSF0JmhKnS/t8UFzgjLpBvAgvG BS/cPkgrE3jz4p3Ezmny1W4VRzUM24p4TyLKvoijR/NnvXC7d1UYIgpTdgIOUmEKXP/pT5 /k0qdfkN9TOFH7u0yLNcij6sJ4ltbRuzyerQsDJvoIzHdhbj6dsqR3uZ512O0vNIg0ycG5 RDP5WJIwIVQbis8bVR7RDeQ75ttH5CX9xTq/D4++ZWWQTU0hLmwBWdavNgyIIw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1639116944; a=rsa-sha256; cv=fail; b=daZV9OyfP0L92G30R8HrNFls03F3m87N5bnYflF6vfJE4Iu5dgUGJmYOrmv02n+Mnt5WlJ aiAFZyb7e6a4Pzok5gs11ZFsXGfcAnwK7RPTtgxEA6ptojjCVgsB0WMC7TxnupXkJhxI9t 6wS28K9sXQTdDEYSx6bY2Ai3QQymFECxdzhXOzaDDmrfnlFwcKdhpuuW8ai+ugWMRp5cYt s0BH4kJeLxJWfjORd+swvP5KUjq27OKYZepqU4JyoYc5VKkjT107KSwW3SjJxfMZWNxtwA CUCbyUkg3h1pmOkrLDx2uPfPrFnxzBAGjx+/35wYilhoWDrbHXhIgmvkkxlLeQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b="b9nt/Xwr"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (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: 2.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b="b9nt/Xwr"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (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: 9DF56F54B X-Spam-Score: 2.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: W7aYOA5eOjtL * gnu/packages/lisp-xyz.scm (cl-num-utils, ecl-cl-num-utils, sbcl-cl-num-utils): New variables. --- gnu/packages/lisp-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 635f8e48cb..4925797136 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -19363,6 +19363,53 @@ command in Common Lisp.") (define-public ecl-which (sbcl-package->ecl-package sbcl-which)) +(define-public sbcl-cl-num-utils + (let ((commit "97a88cd34540acf52e872a82ebfef3da0a34fa12") + (revision "1")) + (package + (name "sbcl-cl-num-utils") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tpapp/cl-num-utils") + (commit commit))) + (file-name (git-file-name "cl-num-utils" version)) + (sha256 + (base32 "15ihsxxs76xnldmqfsbxybckqjwrxwcpphgghiwzr2mnbqjpdqkh")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("anaphora" ,sbcl-anaphora) + ("alexandria" ,sbcl-alexandria) + ("array-operations" ,sbcl-array-operations) + ("cl-slice" ,sbcl-cl-slice) + ("let-plus" ,sbcl-let-plus))) + (native-inputs + `(("clunit" ,sbcl-clunit))) + (home-page "https://github.com/tpapp/cl-num-utils") + (synopsis "Numerical utilities for Common Lisp") + (description + "@code{cl-num-utils} implements simple numerical functions for Common +Lisp, including: +@itemize +@item @code{num=}, a comparison operator for floats +@item simple arithmeric functions, like @code{sum} and @code{l2norm} +@item elementwise operations for arrays +@item intervals +@item special matrices and shorthand for their input +@item sample statistics +@item Chebyshev polynomials +@item univariate rootfinding +@end itemize") + (license license:boost1.0)))) + +(define-public cl-num-utils + (sbcl-package->cl-source-package sbcl-cl-num-utils)) + +(define-public ecl-cl-num-utils + (sbcl-package->ecl-package sbcl-cl-num-utils)) + (define-public sbcl-cl-tld ;; No release. (let ((commit "f5014da8d831fa9481d4181d4450f10a52850c75")) -- 2.25.1