🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.functional
Article #1173

Re: How to improve the readability of (any) LISP or any highlevel functional language to the level of FORTH ?

#1173
From: José A. Romero L.
Date: Mon, 03 Jan 2011 16:21
20 lines
2316 bytes
On 1 Jan, 23:50, girosenth <girose...@india.com> wrote:
(...)
> of computation, I am faced with how to break it into parts due to
> coupling in its parts. I was doing it inside let* to avoid setq
> (fair ?) but I have a function that must return a number or a string
(...)

Can't you simply use setq inside let?:

    (setq blah 1)
    (let ((blah))
      (setq blah 2)  ;; <-- This is not blah! ;)
      (message "blah is %s" blah))

Cheers,
--
José A. Romero L.
escherdragon at gmail
"We who cut mere stones must always be envisioning cathedrals."
(Quarry worker's creed)
Technical Details
Message-ID: <a0759673-84c0-437f-89ce-c0bf991cfbd1@r29g2000yqj.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!r29g2000yqj.googlegroups.com!not-for-mail
References: <80ceeca0-1d32-47d1-ba96-feb4d9729c3a@v17g2000yqv.googlegroups.com> <87pqsgk8v9.fsf@kuiper.lan.informatimago.com> <58e36af6-01b2-4e3c-ad92-4ab674c4831d@e20g2000vbn.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 107f24,1641de092071599d
X-Google-NewGroupId: yes
X-Google-Thread: f4fd2,1641de092071599d
X-Google-NewGroupId: yes
X-Google-Thread: 103b8b,1641de092071599d
X-Google-NewGroupId: yes
X-Google-Attributes: gid4e63bbc566,gidf85ca024c1,gid39ae015015,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!r29g2000yqj.googlegroups.com!not-for-mail
From: José A. Romero L. <escherdragon@gmail.com>
Newsgroups: comp.lang.functional,comp.lang.lisp,gnu.emacs.help,comp.lang.forth,comp.lang.prolog
Subject: Re: How to improve the readability of (any) LISP or any highlevel
 functional language to the level of FORTH ?
Date: Mon, 3 Jan 2011 08:21:42 -0800 (PST)
Organization: http://groups.google.com
Lines: 20
Message-ID: <a0759673-84c0-437f-89ce-c0bf991cfbd1@r29g2000yqj.googlegroups.com>
References: <80ceeca0-1d32-47d1-ba96-feb4d9729c3a@v17g2000yqv.googlegroups.com>
 <87pqsgk8v9.fsf@kuiper.lan.informatimago.com> <58e36af6-01b2-4e3c-ad92-4ab674c4831d@e20g2000vbn.googlegroups.com>
NNTP-Posting-Host: 213.17.133.2
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1294071703 8541 127.0.0.1 (3 Jan 2011 16:21:43 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 3 Jan 2011 16:21:43 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r29g2000yqj.googlegroups.com; posting-host=213.17.133.2; posting-account=mkEKGAoAAACAV2vhv5r9WHXWqsdL_niD
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US;
 rv:1.9.2.12) Gecko/20101107 Firefox/3.6.12 (Swiftfox),gzip(gfe)