From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Neil Jerram" Newsgroups: gmane.lisp.guile.user Subject: Re: Me no understand scoping Date: Sat, 2 Aug 2008 18:43:37 +0100 Message-ID: <49dd78620808021043h66f6d953uff37c35d018afb80@mail.gmail.com> References: <87r69ccaus.fsf@unknownlamer.org> <489074A9.1080508@wilsonjc.us> <49dd78620807310020i8b55067gd22f6ce361a04d7d@mail.gmail.com> <49dd78620807311437g7ab367bdxed293a3b8dbd5753@mail.gmail.com> 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 1217699034 17505 80.91.229.12 (2 Aug 2008 17:43:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Aug 2008 17:43:54 +0000 (UTC) Cc: guile-user@gnu.org To: "Maciek Godek" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Aug 02 19:44:44 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 1KPL9n-0006eC-AC for guile-user@m.gmane.org; Sat, 02 Aug 2008 19:44:43 +0200 Original-Received: from localhost ([127.0.0.1]:36338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPL8s-0001Sn-Dk for guile-user@m.gmane.org; Sat, 02 Aug 2008 13:43:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KPL8n-0001Qe-1j for guile-user@gnu.org; Sat, 02 Aug 2008 13:43:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KPL8l-0001Pm-E7 for guile-user@gnu.org; Sat, 02 Aug 2008 13:43:40 -0400 Original-Received: from [199.232.76.173] (port=36499 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPL8l-0001Pg-4P for guile-user@gnu.org; Sat, 02 Aug 2008 13:43:39 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.250]:43826) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KPL8k-00042H-Ja for guile-user@gnu.org; Sat, 02 Aug 2008 13:43:38 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so1543651rvb.6 for ; Sat, 02 Aug 2008 10:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MySY3x0nKwJ4RdWf01QYjFQqy03uSn7TbQ8hoB1CbXY=; b=jNjg6/IPjsmhKXFf95T/Ny+3y5lcbAX3K8ZA8WlNmGx4KyxdcSw3bSsjnrCMVrWEyA NN/A2xhhxvlT264fvnfNvYm5NoMK/Nuu+7GTw92lE8pdP8IvhhXpXgcDP2GlCH0RxZHk hH9JxNN8OmUbI3otOhMHOhqliIba+QCccU394= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wj+ArL4A+giDv3xZ/69DUgah5roTj9JbLSggYxJzx7HUSkBV9L3x10/pf+OzU6/UJH hAxsbr0BtrvkYrEGUcnB1E+d9wmlVtengWjVpQW0YpP3NIAdkViGNPR5t6lHyOYlAkli nvG3eafmfeN3QmmeIe503dapFV0Qg2D9wS7o0= Original-Received: by 10.114.196.1 with SMTP id t1mr12996152waf.80.1217699017584; Sat, 02 Aug 2008 10:43:37 -0700 (PDT) Original-Received: by 10.114.197.8 with HTTP; Sat, 2 Aug 2008 10:43:37 -0700 (PDT) In-Reply-To: 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:6722 Archived-At: 2008/8/1 Maciek Godek : > > I can't tell you precisely (because I don't know myself). > It's just that whenever I try to do something in scheme, > I end up with questions of that sort. (Maybe the thing is > that I try to write as little code as possible -- the prettiness > and simplicity of scheme convinces me to do so). > > I'm currently working on a little project (in my spare time). [...] Many thanks for providing this description. The project looks fun, so I hope it continues to go well. A few thoughts occurred to me when reading through. 1. IMO this could be really beautifully done in GOOPS, by defining custom metaclasses and slot types. 2. You say that your protocol is lisp-ish. I have found it really useful, both in GDS and in another client/server project, to express the protocol entirely in lisp forms. Simply because this means that you can use `read' to read exactly one protocol instruction; no parsing required! 3. It's still not obvious to me how this ends up using the-environment and local-eval. If class variables never interact directly with the real environment, they could be just stored in a hash table.. > PS gdm rocks! (thankyouthankyouthankyou!! it really did change > my way of writing the code) Do you mean GDS? If so, thanks for your thanks! Regards, Neil