|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Ed Watkeys <edw@poseur.com>
- To: Philly Lambda <philly-lambda@googlegroups.com>
- Subject: Re: Graham released Arc
- Date: Thu, 31 Jan 2008 09:55:31 -0800 (PST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to:mime-version:message-id:date:received:in-reply-to:x-ip:references:user-agent:x-http-useragent:subject:from:to:content-type:content-transfer-encoding:reply-to:sender:precedence:x-google-loop:mailing-list:list-id:list-post:list-help:list-unsubscribe; bh=/wdoUXiXOCKWb4Vb3+fVB3CRDiqqXiLKqe4ogOwy0KM=; b=qC/ij+sUUxlaIrF1znzefMPwEMgcEmKGlUnqz7XumbTW/wgfspgPZMi0MHb7fP5+49FIiFYWYsizq2dByjMaNEW75D46qEeDQ1Q2pibF5uTJGeVyYybhZYkXY+MHjYhqxMUwrgYY6Olw9W3FpEJAP6kcv7GH8LMXQIYaJM8asB4=
- Mailing-list: list philly-lambda@googlegroups.com; contact philly-lambda-owner@googlegroups.com
- Reply-to: philly-lambda@googlegroups.com
- Sender: philly-lambda@googlegroups.com
- User-agent: G2/1.0
> * Really? It's not just an eval hack?
What is the difference between "really" and "just an eval hack"?
> Slicing doesn't appear to work. i.e. you can't say ("andrew" 1 3) and
> expect to get back "ndr", or even "nd" if the second argument isn't a
> count...
I tried the same thing. There doesn't seem to be a reason not to do
that, aside from 1) available time and 2) it's of marginal value
compared to the rationale for the unary function. Specifically, the
big win with collections-as-functions seems to be in contexts like
this:
(= cipher "nopqrstuvwxyzabcdefghijklm")
(def letter-index (ch)
(- (coerce ch 'int) 97))
(def rot-13 (s)
(map cipher:letter-index s))
(rot-13 "foo") ==> "sbb"
(rot-13 "sbb") ==> "foo"
(rot-13:rot-13 "foo") ==> "foo"
Starting to wrap my head around the potential here. Anyway, the point
is, collections-as-mere-unary-functions have a lot of potential.
Regarding non-MzScheme hosted Arcs, it seems like a lot of pointless
work at this stage. A lot of Lisps have lived hosted in other Lisps
for extended periods. Arc is still subject to a lot of change. I don't
see the value of a self-hosting Arc or even an Arc that's hosted
elsewhere until it gels some more.
Ed
|
|