From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: `thunk-let'? Date: Thu, 23 Nov 2017 16:34:05 +0000 Message-ID: References: <87infp9z6j.fsf@web.de> <87zi90eehg.fsf@web.de> <87o9ocd6s4.fsf@web.de> <87wp2zcwm2.fsf@web.de> <87mv3vwb2c.fsf_-_@web.de> <87h8tnowl4.fsf@web.de> <83vai3asgt.fsf@gnu.org> <83mv3eb85m.fsf@gnu.org> <87a7zdbsyf.fsf@web.de> <873755hbpr.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1511454939 20116 195.159.176.226 (23 Nov 2017 16:35:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Nov 2017 16:35:39 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 23 17:35:32 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 1eHuTG-0004G1-HV for ged-emacs-devel@m.gmane.org; Thu, 23 Nov 2017 17:35:26 +0100 Original-Received: from localhost ([::1]:45120 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHuTK-00078x-OK for ged-emacs-devel@m.gmane.org; Thu, 23 Nov 2017 11:35:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHuSf-00078J-9G for emacs-devel@gnu.org; Thu, 23 Nov 2017 11:34:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHuSe-0001rG-Lg for emacs-devel@gnu.org; Thu, 23 Nov 2017 11:34:49 -0500 Original-Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:40838) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHuSd-0001p5-Ac; Thu, 23 Nov 2017 11:34:47 -0500 Original-Received: by mail-wm0-x22d.google.com with SMTP id b189so17676031wmd.5; Thu, 23 Nov 2017 08:34:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MuYaObLdlWCx7KnoL/hwUxbPK7QQ9jgp75Q5+AQhO2g=; b=SM/AxLJhJ+Z5z2eiS/zzyJ6BApLwvapWc2hzXx1nIWz1sDBXkx+f5rUL8kgXyzRWli xqro5EPwD5yDo0krwVjxDDx+ZgJHoVnusacSefBhqBhUBesi3EH6P2hoYZ1P1xaMDEBe KIyLQ4XGuUuE7lwHwsyglTEoqyQn0h9zZ8QRECNYMnYY2mrH/fE1+H7SPEtu870Og2oG 4M+rzq8oZ0RsTbNtkdPvkU0V6fcVaU29Oy9qKoh7RPhMYotSKh9WHZcyUPvvR/wYeHJ8 cXS/0N6oGZRmGN39j3SfGKDCeeCWAv5Gj4w4ueOUsajFUzeW634qKhw4F8IrlMMuiCSc INAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MuYaObLdlWCx7KnoL/hwUxbPK7QQ9jgp75Q5+AQhO2g=; b=A5tBNzbSGS4ccKkDPnq3qZhCSflb7S8rRCo90ojmxzUIu6TTRZhN0tssLjA5zWZDCL yjBNqv3nbI/T+SnqDzY/GxytA1PlJcof9j1niLOqBpVVeaas12RIf+VUM1CLVU4Y9TbY ltmmfm8E1KKPZxm5W5pI+l4bwjgcrEAZ82wonUMKR9prtk7V85v7uMb/sOJD5KhZZK4v DbOkzZQIdOtPJ4D43vnru8C10mfe4F18E9r42owC53GMAvnrw5FQ1eYVYoMPOSybk0ef rRNdHUrzqX+MLMMcNup1BOntWCluT53Idhyxi4Obme5ZeNhz/kdR2QK6uIaO+lWim4zX LrAw== X-Gm-Message-State: AJaThX4L+yhDwFqRuSLTtRqAy5Rx/Aj6sLbVKHigR2uUDOcb7bp+bTgV GA40NtRTCElyYlTKAbHEJXPMuS087SuQ3qzy5ZY= X-Google-Smtp-Source: AGs4zMZd5rbewGYIyIJJ8iDn2sgpLKi8FJxPrno5Oc1DhPQXqpNugXk7vsW0mo0CyetQVZVKD8aGotNN5VQR7lZnAyM= X-Received: by 10.80.215.29 with SMTP id t29mr35429332edi.45.1511454886050; Thu, 23 Nov 2017 08:34:46 -0800 (PST) Original-Received: by 10.80.150.6 with HTTP; Thu, 23 Nov 2017 08:34:05 -0800 (PST) In-Reply-To: <873755hbpr.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22d 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:220400 Archived-At: Unless I'm missing something (there appear to be two attachments to that last email), you define thunk-let and thunk-let*, but document lazy-let and lazy-let*. IMHO, lazy-let is much better as a name: thunk-let doesn't describe what it does, only how it's implemented; more importantly, JavaScript-like Promises could also be implemented with thunks, so it's ambiguous. (The difference is that JavaScript promises get evaluated at some point in the future and their result is then made available; lazy variables are never evaluated unless they're actually needed.) On Thu, Nov 23, 2017 at 4:15 AM, Michael Heerdegen wrote: > Michael Heerdegen writes: > >> This helped a lot. My first version even compiled without error. I'll >> post the updated patch soon. > > Ok, here is what I have, with everything discusses included (see also > attached). I will proofread it once more, maybe others will want to > have a look in the meantime, too. > > > > > Thanks, > > Michael. > >