Andrew Gwozdziewycz on 31 Jan 2008 10:07:08 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Graham released Arc

  • From: "Andrew Gwozdziewycz" <apgwoz@gmail.com>
  • To: philly-lambda@googlegroups.com
  • Subject: Re: Graham released Arc
  • Date: Thu, 31 Jan 2008 13:06:47 -0500
  • Authentication-results: mx.google.com; spf=pass (google.com: domain of apgwoz@gmail.com designates 64.233.184.239 as permitted sender) smtp.mail=apgwoz@gmail.com; dkim=pass (test mode) header.i=@gmail.com
  • 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:received:received:received-spf:authentication-results:received:dkim-signature:domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:reply-to:sender:precedence:x-google-loop:mailing-list:list-id:list-post:list-help:list-unsubscribe; bh=sdcy+L9xTlVL9fls+FDF2Pos8AXcd7EcNP4SE99zgt8=; b=GTBpELHWMqABBJxN4SsgtDxo+34NFX2nfDrMXfAJvZOw5CMz9ZV9IUmgzQv0ia1tPKwMCWIL5t/Dl8iewtVhMZNA7e1Z7WPzMgdSYIt9SqD0qO7h/4DKNfj1TcvkGlUtVA+tCZlNms3pBqTdjGAGA7n4CnRqBPtPWOkLovHfjLQ=
  • 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=eNdMX+0O0wsa0ImJdGrtE0uvkeS2bfuC8wUBNgwQ9R4=; b=fxQr4xS9jni9KkYE/KZqEzASpETCbpoeIFDac/qOWYuLjv4c323kl4r9zHN2WtlIOPwjumFVHeaHdCQLMbJccoMJpE5uWTSjfhg3ibDEo9XFAqOK9HiOYEqlFjk9uoNXYkv7d52fkTtZ8yuGB2PVSh8n++rcBX5usHLBGQilrLE=
  • Mailing-list: list philly-lambda@googlegroups.com; contact philly-lambda-owner@googlegroups.com
  • Reply-to: philly-lambda@googlegroups.com
  • Sender: philly-lambda@googlegroups.com

On Jan 31, 2008 12:55 PM, Ed Watkeys <edw@poseur.com> wrote:
>
> > * Really? It's not just an eval hack?
>
> What is the difference between "really" and "just an eval hack"?

I guess it was just an English kludge.

> > 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:

There is subseq, which can do slicing on arbitrary collections...

> (= 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.

Yeah, that is pretty neat.

> 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.

I realize that Arc isn't necessarily a good candidate for being
self-hosted, but also realize that there are enough people out there
with plenty of time to do it, and they undoubtedly will. I'm sure it
will include the controversial support for unicode.

-- 
Andrew Gwozdziewycz
apgwoz@gmail.com
http://www.apgwoz.com  | http://www.photub.com