From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Taylan Kammer Newsgroups: gmane.lisp.guile.user Subject: Re: Somehow I have got this "thunk" thing wrong. Date: Sat, 6 Mar 2021 17:55:02 +0100 Message-ID: <58f9bcc8-a241-66d0-2396-c6dabb6ba273@gmail.com> References: <87lfb1yvfx.fsf@clara> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13862"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 To: Olivier Dion , Tim Meehan , guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Mar 06 17:55:34 2021 Return-path: Envelope-to: guile-user@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 1lIaDE-0003T7-TY for guile-user@m.gmane-mx.org; Sat, 06 Mar 2021 17:55:32 +0100 Original-Received: from localhost ([::1]:40618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIaDD-0003tk-VC for guile-user@m.gmane-mx.org; Sat, 06 Mar 2021 11:55:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIaCz-0003rW-RO for guile-user@gnu.org; Sat, 06 Mar 2021 11:55:17 -0500 Original-Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]:37653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIaCs-0002gd-EP for guile-user@gnu.org; Sat, 06 Mar 2021 11:55:17 -0500 Original-Received: by mail-ej1-x630.google.com with SMTP id bm21so10483763ejb.4 for ; Sat, 06 Mar 2021 08:55:07 -0800 (PST) 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=iuX9tgYfgqLZZaNb7k8xJVzsxby4ZBmK3gnVcPE/vV4=; b=YxDoXVaKia7GDlZe6vYdV/bPOezQtb+oIdDUirqqbzooRPHYivXA46x54hQTcjDmnR ts3gJ4Yr9kXbUsMGGTXW86YbRIy8ZTKpG5NMP8y9faPCQW7TKVqlqtFapevjRu2EFOi1 M+2JPWrQC1Tx9JCbket+dRAnRQYYzX+1fSJ0dgnwoQSQvnwlgSCsBqw6I2LYzM0cOYev gjzj6DDoVDkB3BIlUR25vEPC4sNIi2cmZg3vgn8AJ6iN/Lt6G0pPU56RUfP5x/BBlu25 2Wl5UcP4WNuMgfeuxp5gpSwjict9iHAqO9NG4GlB/+DzbiBXysIZNxAfB0inpiXmJbQc ymyA== 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=iuX9tgYfgqLZZaNb7k8xJVzsxby4ZBmK3gnVcPE/vV4=; b=CZo3WeS2UWgkqYTKkyaUPp63LPFLFT0pY8XG3XcTyyS+5snbWk7FPKMGtZRf9bgvek TcHh84MdEtPR2GBs0dtIVK381l98P9p8DgXtaBsg0Z2dtEGlZBEqgYfvvCqhoSZOhF5V 3iLRzvs0W8YhCKo+66R52ZIxYHiRgJM14tuGS9q9bZnffzxjlt+QQtlihac8i/pcidv4 tflBAnorDdY3shUEf493IoHT7m/iy9g9LOjy5apkUVm0SM1U2ErzEx2Ogeay7g1i9kjj 9BzUPgBzkJOFQpo6ydZKw8rfjvDA0kRbmK0Kra6Jc6eCT43udo1tJ0LVKRmqT4R83ZD7 paYw== X-Gm-Message-State: AOAM5315RHHmzQKqaBypYe9aZd42LH5utGu7gMYmbf4cuOE7BTQiSfnm n4uuz5FQqhLzOp3b6vCWiEy9jVz1Qgr8Uw== X-Google-Smtp-Source: ABdhPJxuyZxazBBar4w1jHh/Rk2guha1iywjQtshWRUGKji4QMG2xtfeN9NW4QPR369fUhAUO+6V7g== X-Received: by 2002:a17:906:eb89:: with SMTP id mh9mr7689753ejb.122.1615049706185; Sat, 06 Mar 2021 08:55:06 -0800 (PST) Original-Received: from [192.168.178.20] ([109.90.125.150]) by smtp.gmail.com with ESMTPSA id u59sm3638488edc.73.2021.03.06.08.55.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Mar 2021 08:55:05 -0800 (PST) In-Reply-To: <87lfb1yvfx.fsf@clara> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=taylan.kammer@gmail.com; helo=mail-ej1-x630.google.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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17344 Archived-At: On 06.03.2021 01:31, Olivier Dion via General Guile related discussions wrote: > You've quoted the whole s-exp. Which means lambda is never applied. > You have to apply lambda in order to create a procedure. Just a bit of pedantry on the terms: 'lambda' is not "applied" anyway, because it's a special form and not a procedure. The term "apply" is used when referring to procedures. E.g. you would apply 'list', 'cons', 'vector-ref' and so on, but you wouldn't apply 'lambda', 'if', 'define' and so on. In other words, if you can pass it as an argument to 'apply', you can "apply" it. E.g. '(apply lambda (list ...))' is invalid syntax. I think the term "evaluate" would be preferred here, as in: "the 'lambda' is quoted so it won't be evaluated." - Taylan