From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Maciek Godek" Newsgroups: gmane.lisp.guile.user Subject: Re: Me no understand scoping Date: Sat, 2 Aug 2008 23:35:41 +0200 Message-ID: References: <87r69ccaus.fsf@unknownlamer.org> <489074A9.1080508@wilsonjc.us> <49dd78620807310020i8b55067gd22f6ce361a04d7d@mail.gmail.com> <874p657gyo.fsf@unknownlamer.org> <4893ECE5.2090702@wilsonjc.us> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217712958 22140 80.91.229.12 (2 Aug 2008 21:35:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Aug 2008 21:35:58 +0000 (UTC) To: "Jon Wilson" , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Aug 02 23:36:47 2008 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KPOmL-0008GZ-Ul for guile-user@m.gmane.org; Sat, 02 Aug 2008 23:36:46 +0200 Original-Received: from localhost ([127.0.0.1]:41137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPOlR-0004yB-4e for guile-user@m.gmane.org; Sat, 02 Aug 2008 17:35:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KPOlM-0004xh-OF for guile-user@gnu.org; Sat, 02 Aug 2008 17:35:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KPOlL-0004w1-88 for guile-user@gnu.org; Sat, 02 Aug 2008 17:35:44 -0400 Original-Received: from [199.232.76.173] (port=45560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPOlL-0004vq-2o for guile-user@gnu.org; Sat, 02 Aug 2008 17:35:43 -0400 Original-Received: from wf-out-1314.google.com ([209.85.200.172]:64141) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KPOlK-0002sQ-Jz for guile-user@gnu.org; Sat, 02 Aug 2008 17:35:42 -0400 Original-Received: by wf-out-1314.google.com with SMTP id 28so1445406wfc.24 for ; Sat, 02 Aug 2008 14:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3sH716qhkqki4Vijkn1QUZZzjKUxTLa+ZRih8vgcs7o=; b=mok/bZyIoZU3Xzp2WpCRJI2BsfzJIe0C/TeqLRVwy/DVM4RBm9uMFcgiTH79tqViWK q6NTJvGh3+cM93o9MQ9rhSwo8HasYycYR7G/wX4dxmfhFBzfwlHUHIBevl2eu1se9fPp Qoik4RziVnHoRDYfbHP6vQgUL6Ey6JvhtB6Dw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qh7vXCvJU9hfVTFt1Efy8x8kSXL64G646hTgz8e0udQBVZbsdRujb8ERn2w+9M6p7M Fti7VBTCkolAI3wRgmYWMm21PG7Dzh66fAWmxPCM0Gv8R20acRVkmA4aQrgQtdbjdgzF 0XU0k6L6DGUQk5nyEw18+T/8POz9K7lxh5MsA= Original-Received: by 10.142.81.7 with SMTP id e7mr4307211wfb.320.1217712941593; Sat, 02 Aug 2008 14:35:41 -0700 (PDT) Original-Received: by 10.142.141.17 with HTTP; Sat, 2 Aug 2008 14:35:41 -0700 (PDT) In-Reply-To: <4893ECE5.2090702@wilsonjc.us> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6723 Archived-At: > Time to trot out the tired old koan [1] ... > > " The venerable master Qc Na was walking with his student, Anton. Hoping to > prompt the master into a discussion, Anton said "Master, I have heard that > objects are a very good thing - is this true?" Qc Na looked pityingly at > his student and replied, "Foolish pupil - objects are merely a poor man's > closures." > > " Chastised, Anton took his leave from his master and returned to his cell, > intent on studying closures. He carefully read the entire "Lambda: The > Ultimate..." series of papers and its cousins, and implemented a small > Scheme interpreter with a closure-based object system. He learned much, and > looked forward to informing his master of his progress. > > " On his next walk with Qc Na, Anton attempted to impress his master by > saying "Master, I have diligently studied the matter, and now understand > that objects are truly a poor man's closures." Qc Na responded by hitting > Anton with his stick, saying "When will you learn? Closures are a poor man's > object." At that moment, Anton became enlightened. > > > [1] http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/msg03277.html I only wonder if the idea of explicit closures was floating in the air at the time when this koan was coined. Does anybody know? (because I can't loose the impression that explicit closures could be the rich man's objects) M.