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 ms8.migadu.com with LMTPS id SC+GKhrfumVY0AAA62LTzQ:P1 (envelope-from ) for ; Thu, 01 Feb 2024 01:00:26 +0100 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 SC+GKhrfumVY0AAA62LTzQ (envelope-from ) for ; Thu, 01 Feb 2024 01:00:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=temperror ("DNS error when getting key") header.d=charje.net header.s=dkim6 header.b=VZdfMzb8; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706745626; a=rsa-sha256; cv=none; b=EXXgjed2zEHmcyOK9qNtbngCrEkJ6Pf0dhbP3VqfJ+RlfDaTLLSSFlkAYLUpVqb788WgT5 YwIVypDY29S96hxRrcuEmZ8XrSyS4kYyGfcKFLrH0z0N3R6BO815oqx/AkWwnG/24tFVXG BXvAU+lCYAwhQ1d5Mvj81MGsYuynvH7CTsNaaY9+tjPnX29RetuR2o5L68Bb/BdBIQqOEe VZy31xJCjQxqO2lQ3pBAVweEESpUmcjy4+tEBwbsUEhGpw4evUWOg9/gHCQmbQOz8kSfLD i+nxrWifrO3ch/55r0tJNSdhlwDA0uaJPUXLUa/hnKFlPdHZa/rVdbL5361I1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=temperror ("DNS error when getting key") header.d=charje.net header.s=dkim6 header.b=VZdfMzb8; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706745626; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Gam1/5vXEwlzShhOMGF+Z7XK/QfNGUwWyKDmS1BPtnQ=; b=K5GGca1hxV15OMoL/KWC4OuBHVrqqA8awEQ0+RhEfxaNGpYwUgCXimd+GuobXYfQGJTNDk wLM7UD6wutDBQmfwjAxIwZTqLT/Lxn5/1Z6e56TRsbqdCl9EchBVxGbwzd00F+lEknx/PL 9OpqW/rw8Bcp6Wo3tAR4u6TmTej9CN3guln2RFZyxfNsLutnBsuo/l6SuhKnhkPch1V2dD ys1n1OLrVNegrZkNeZqmTD6eyscZwaw9ATEWZKBa5D5cYLU6mME11neG4wx+W5O+xsIYVA sDZTVSBzMtgByofHf1UdksoBvKGsnEOqkQfzWZd8kh5YRQsnjN4G/NORVSLnlw== 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 3E5F276C1D for ; Thu, 1 Feb 2024 01:00:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVKUq-0006Sl-2Q; Wed, 31 Jan 2024 19:00:00 -0500 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 1rVKUm-0006SQ-7I for guix-patches@gnu.org; Wed, 31 Jan 2024 18:59:57 -0500 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 1rVKUl-0002ww-Sr for guix-patches@gnu.org; Wed, 31 Jan 2024 18:59:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rVKUs-0003Du-V7; Wed, 31 Jan 2024 19:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68859] [PATCH] gnu: Add cl-modf. Resent-From: Charles Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 01 Feb 2024 00:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68859 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68859@debbugs.gnu.org Cc: Charles , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by submit@debbugs.gnu.org id=B.170674558212331 (code B ref -1); Thu, 01 Feb 2024 00:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2024 23:59:42 +0000 Received: from localhost ([127.0.0.1]:39311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVKUX-0003Cp-K5 for submit@debbugs.gnu.org; Wed, 31 Jan 2024 18:59:41 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVKUS-0003CY-FD for submit@debbugs.gnu.org; Wed, 31 Jan 2024 18:59:39 -0500 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 1rVKUD-0006PW-CA for guix-patches@gnu.org; Wed, 31 Jan 2024 18:59:21 -0500 Received: from 076-187-208-035.res.spectrum.com ([76.187.208.35] helo=mail.charje.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVKU9-0002s7-GC for guix-patches@gnu.org; Wed, 31 Jan 2024 18:59:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=charje.net; s=dkim6; t=1706745553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Gam1/5vXEwlzShhOMGF+Z7XK/QfNGUwWyKDmS1BPtnQ=; b=VZdfMzb8afxJ1kFGG8C02vbZBK/kNshJxTGCg3AOQtvbWIHiGTNw/VyWwfVEVLll9Mf3eo W+fwn/+/jzNaIde4QDW/3gqV1uuICv1Gq8NOiiJ118o8Co8SW9bc/9dkl9BXuK8RwU3i1i iZzsYVxTEK17GSYyQ597XF/iJCg9XmxH0pxffcU/7v4bRERZEyj9QRHuMg8pjon0/ldu5X 692GrM6zSLF11z6tVzkybQqtNhSbI2qoBJkjQfU0/9MFCDGh/cGT7dTXQ++Kgp82JvGe8k fIZ/9TP48b2xEzIZ+JFmPRMRSXi1wBiDgaJC6SOAwZjMkT/W8r39UOWgPPOXtQ== Received: from charje.net (076-187-208-035.res.spectrum.com [76.187.208.35]) by localhost (OpenSMTPD) with ESMTPSA id 2b897f02 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 31 Jan 2024 23:59:13 +0000 (UTC) Date: Wed, 31 Jan 2024 17:58:07 -0600 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=76.187.208.35; envelope-from=charles@charje.net; helo=mail.charje.net X-Spam_score_int: 26 X-Spam_score: 2.6 X-Spam_bar: ++ X-Spam_report: (2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_PBL=3.335, RCVD_IN_SORBS_DUL=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Reply-to: Charles X-ACL-Warn: , Charles via Guix-patches From: Charles via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -5.16 X-Migadu-Queue-Id: 3E5F276C1D X-Migadu-Spam-Score: -5.16 X-TUID: 3ximPY+HqvTX * gnu/packages/lisp-xyz.scm (sbcl-modf, cl-modf, ecl-modf): New variables. Change-Id: Ic7e8e4511ca537531a7d9aa134e671aca060aa09 --- I used the quicklisp importer again for this one. Also guix lint complains about "synopsis should start with an upper-case letter or digit", but I figure it should be fine to start with a @code. gnu/packages/lisp-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index ae71c67009..afe9c1bdbb 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -11550,6 +11550,42 @@ (define-public ecl-fset ;; Tests fails on ECL with "The function FSET::MAKE-CHAR is undefined". '(#:tests? #f)))) +(define-public sbcl-modf + (let ((commit "dea93fe62c6bf7f66f32f52ac0c555aedbf7abad") + (revision "0")) + (package + (name "sbcl-modf") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/smithzvk/modf") + (commit commit))) + (file-name (git-file-name "sbcl-modf" version)) + (sha256 + (base32 + "1aap7ldy7lv942khp026pgndgdzfkkqa9xcq1ykinrmflrgdazay")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-alexandria + sbcl-closer-mop + sbcl-iterate)) + (native-inputs + (list sbcl-stefil)) + (home-page "https://github.com/smithzvk/modf") + (synopsis "@code{setf} like macro for functional programming in Common Lisp") + (description "This library simplifies functional programming in Common +Lisp by making it easier to make new data structures with specified changes in +place.") + (license license:bsd-3)))) + +(define-public cl-modf + (sbcl-package->cl-source-package sbcl-modf)) + +(define-public ecl-modf + (sbcl-package->ecl-package sbcl-modf)) + (define-public sbcl-cl-cont (let ((commit "fc1fa7e6eb64894fdca13e688e6015fad5290d2a") (revision "1")) base-commit: 73d8e5a9352304a5192b22e04ef022234488e0da prerequisite-patch-id: 45d179497c5c23d36ba555ff93d47a18276835ab prerequisite-patch-id: 57958f0ec7271916a336f2d490f8edeabb429322 -- 2.41.0