From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Elisp threading macros Date: Thu, 29 Aug 2024 08:48:11 +0800 Message-ID: <87seuoupbo.fsf@yahoo.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23239"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Garklein Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 29 02:49:13 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sjTLd-0005xr-3Z for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Aug 2024 02:49:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjTKv-0001Gu-Em; Wed, 28 Aug 2024 20:48:29 -0400 Original-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 1sjTKt-0001GP-Rr for emacs-devel@gnu.org; Wed, 28 Aug 2024 20:48:27 -0400 Original-Received: from sonic302-22.consmr.mail.ne1.yahoo.com ([66.163.186.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sjTKr-0008WJ-2K for emacs-devel@gnu.org; Wed, 28 Aug 2024 20:48:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1724892502; bh=3RIRvfhNuTdMYuDDBhpXmBVnBRVq6/V5ibn3KJ177Zg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=oXhOte6fBbczti0rx0JTmvNjO/AZ7B6+rfqHpJqWum+H8oh2VHXZT7rtt0d8GUxHKNqbWusptZLd+h4cPS5p2DCPg/JnXIlR969AXOusRhDvM/x5IRJifIf2TAkKEOePOr/9b3d7X2aawzSsRJ6j9Nus2T7uwQKRPiDdisQW/buYY17EIbm4E9M6hwqlakTKWWMbOzJg11xjYOrRqjbVr9LvZThY5zND36mfYvuveyBkvalFN9mgUruCfZadZiNDve9NaGdKsS+QkSD8b3On6CZMmoaeAIwf5+h1CbBGMSX/K1qzESca4tlCH/nMrp7w18s1gT/c0AGhsBNRotWrTA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1724892502; bh=9dIzJrmLT8W7Ypx/SCVHPRguOWeQeJEduCMN/L5LO23=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ZnWjCv0I7UqN1bUuh1no4CkyDMOb//R5d0xD5rnpf8NtdvC2il/E+cMBjY2XHAus7mSVbUpSS8l1pMNElS+7DTGIX/8l4Da4CR1GSelgmN4dLTfCBu4qsExX21RfLHpShf4kDGCfNHJpeMvr9qkW7W+BIPUNNHnhgezG0E4TAfn8GuyNMUkSTxX9ZAxZuHnoRGKLcGSGuA+HEjcVoMuF3PlS2UPCQnKhwXvhUFc6GkxRcFiTnjk4WoO+01icYbAfxOD7CESil89W/foqWD+S/YvM63CvWqo1h2kipav4MOZV1EUOIzQytz6g9rd3acx3nBXJ8Ki6CkoTy6DrYBJftw== X-YMail-OSG: 69Qr4SEVM1msIE3bmEqpAKuJmQYyPjdJSVRkilG6pt3WbOf09WUlual4euGVv_i fKvNeeTxtAunFZyMjCus33PwkhGeK9al6pbvz9oU5kY4EsOXq.BSk7vKkboRWmXVh6Uw2pmniPBw VJbAF0sr7hj_W0aJ2cUeyam75G6teZcfFS.L4OtBxL21KWGXv7iEdoSkgza7lNKxC278iJcJ7uPA y.uLLGmy_1cQt23EEP1Rnq7vUB1kfNYjSlahpwmYzv5oRTebiJsuTBWP4xAuzNrKE18KY8tUnQmi 51njqzZ9nd4QK7mI6baS5ker.vLp_712UD1Z5y2dY6Qsvmrzbbm.flA_uktfc4fZl6STXXAcM1Gp gUJ9TbG8HR6zbhzVOM6iK26b.JE7zuvzSDhqn3HyQkMgzUkV.2Dqo14Gg_z3ytAxn.sK0cjCu1QV Cc2h9v5UU.kGVadBK.qzlgOYabYKUzsaeb1Pmf6tSiUt.HdSqrVfH8W4khR.cv8lRx6i2CaEaplF .d5WPpYnzy8Az2cqlprY9tFUmTt5QUlSolVS_7x65iHs9zzcmDr3.kt7iWblT5.JllDfaCWplTRY 7N_zf8iD2QiEsWSkCT5FTliVez8o0CmDeQLgkFQT.iwJVbW6369kvBcHZxlG.Mi.PnAXigapmFJ9 cVLvegxv0uuDgAurLd2pSwm9tF5JRbDYMB91.jENr02egJWu1R.RgiW1RxZJNi4d7aIhqpAvBTNq i28CKVvJ3r2idJ3HG1bRk7h5S32mO0nJW6fXRSPY.A9sEk_mT6cTcQEhkbcfpyR58nq2hp3bIUyM CAyZVl.GNJ1JbnzSVsvmhtxUnhXhxBflCG9t6kIsgp X-Sonic-MF: X-Sonic-ID: 38bd82a1-6557-4d15-b556-12ec7266284c Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Thu, 29 Aug 2024 00:48:22 +0000 Original-Received: by hermes--production-sg3-fc85cddf6-9p6n9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e69f7f433df6cc1d8ac82158ed1272b8; Thu, 29 Aug 2024 00:48:17 +0000 (UTC) In-Reply-To: (Garklein's message of "Wed, 28 Aug 2024 10:08:05 -0400") X-Mailer: WebService/1.1.22645 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.148; envelope-from=luangruo@yahoo.com; helo=sonic302-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323165 Archived-At: Garklein writes: > Hello, > `-some->' is useful in cases like this: > > (let (foo (function-which-may-return-nil)) > (when foo > (bar foo))) > > which can be rewritten, much cleaner, as > > (-some-> foo function-which-may-return-nil bar) I think very few people will agree, but "-some->" is not an acceptable name for a preloaded function. Or any function, come to that.