From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Another pcase-lambda Date: Fri, 22 Sep 2017 23:50:20 +0200 Message-ID: <1b28b89b-4e6a-7174-275c-f6a50aa5c75b@gmail.com> References: <20170919005637.GA19322@holos.localdomain> <87tvzwz3d2.fsf@web.de> <20170922213707.iujgqjjrg4vxcf4w@logos.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1506117070 3537 195.159.176.226 (22 Sep 2017 21:51:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 22 Sep 2017 21:51:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 22 23:51:07 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvVqh-0000Vi-7Q for ged-emacs-devel@m.gmane.org; Fri, 22 Sep 2017 23:51:03 +0200 Original-Received: from localhost ([::1]:32923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvVqo-0007Ol-D3 for ged-emacs-devel@m.gmane.org; Fri, 22 Sep 2017 17:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvVq8-0007Oc-UO for emacs-devel@gnu.org; Fri, 22 Sep 2017 17:50:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvVq5-0003dE-Su for emacs-devel@gnu.org; Fri, 22 Sep 2017 17:50:29 -0400 Original-Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:53701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dvVq5-0003cU-MM for emacs-devel@gnu.org; Fri, 22 Sep 2017 17:50:25 -0400 Original-Received: by mail-wr0-x234.google.com with SMTP id l22so1826190wrc.10 for ; Fri, 22 Sep 2017 14:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=AJ91IfGiPyCs5MYACEewo2BUZXyQBMoUCGUoYrKJAOE=; b=Xbd/apcEvOlUMtAf7aiGVA0VbA8ioqTGGC290QlxkefuqB172cOimU12K3EKhklFhl 2ZEPXc7maiuFA3AjM3AmdQZVwJ4VKpGacWgh2y1F2GiulGb9fC/uSYarQrMhIubrO406 OQQdPi+MT0U54hLUqsfDH8aHSQyPoZtfbWa17l6spuhY//0hW4cs9DwI1f21M99Ml+Mk 3TAcqEuQ7wDleqn1QH0Rup1njK2/70tNq+08Vh058spz++oc51iExQKkkumgM9ods2k4 aR0oPP7QjGy5felWJ78lUTxEYHY6O6viaSmCvY+/nRY7lj/9dva6fwEbb8zGo5y/1p+T rdBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=AJ91IfGiPyCs5MYACEewo2BUZXyQBMoUCGUoYrKJAOE=; b=Y+0jSoRfLbV2oZndvpQG4EN22AjDOLI9nw17ehwdV+VnNNtsOlANzn8fYPzxZBCvIn C6oXCZNH3iBZ0sss5h2fDpb5OEa7Lb4Fq/zojUFBaBae3ooNJWVnj5bZqLkhLMmJJyV9 yc5PGk9oYloRaAp5Kem0q9lPP6C3GdjegOyw5abN88ZHTDnhXJzu5DbEWmumEcMgipwM bEpjTgb6UVth0p6srXs+/3VNK0q/bxsNwv6Yd5q7okRmyXvlPGCgUc2MmdYHvLl/KvDz hKIRy6xt4GVPb/skhadlnoaoCFbukBlUGdaISRNvRJB78b16KwrY8KOhEEeAz61yRchJ 8p/Q== X-Gm-Message-State: AHPjjUiW2Odd6vImbx3xLzADNzhFOwIrPHMfCX60bnlQjvKJwYgVtJkq 9IPrBCgAwaSAKvQC0BSaj4jNFQ75Tn8= X-Google-Smtp-Source: AOwi7QA1tcaWnW9Tnw3vH1PtsAIuuMxbHjW57gZmNi8dZNg8HgRtIGyYVHYZVwYH2wuqK4/tX8qX6Q== X-Received: by 10.223.133.65 with SMTP id 59mr356330wrh.233.1506117022840; Fri, 22 Sep 2017 14:50:22 -0700 (PDT) Original-Received: from [192.168.43.95] ([37.172.7.59]) by smtp.gmail.com with ESMTPSA id g13sm1039267wrg.63.2017.09.22.14.50.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Sep 2017 14:50:22 -0700 (PDT) In-Reply-To: <20170922213707.iujgqjjrg4vxcf4w@logos.localdomain> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218713 Archived-At: On 2017-09-22 23:37, Mark Oteiza wrote: > Thanks. I just always expect pcase-lambda to behave more like pcase, > hence I wrote this. Am I correct to think that is is very similar to ML's 'function'? as in let string_of_bool = function | true -> "true" | false -> "false" If so, could pcase-function work? Clément.