Andrew Gwozdziewycz on 31 Jan 2008 05:18:36 -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 08:18:23 -0500
  • Authentication-results: mx.google.com; spf=pass (google.com: domain of apgwoz@gmail.com designates 64.233.184.238 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:mime-version:in-reply-to:references:x-gpgmail-state:content-type:message-id:from:subject:date:to:x-mailer:reply-to:sender:precedence:x-google-loop:mailing-list:list-id:list-post:list-help:list-unsubscribe; bh=t+5+RkURpmWwVCSgoYd6i0XZhyX3iVAeURMh50g2g+8=; b=rM90FeHziq/RkRyma7PVo76pSexP138JHFYEPCJ5C1NbFf8g1cyfRRGE+H9Cv+Yyptla7447XKH0/6/jXclnyFtHEDbedVwZ0cjT/LENjw29vRkeFDhH+fapRXOnElMVglIbzDV6E/kKkHSahqIa04FV3qA9G6n8A+JtCSFP4GU=
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:in-reply-to:references:x-gpgmail-state:content-type:message-id:from:subject:date:to:x-mailer; bh=1913CBAln+I0XQut7jCdzhwAerfpa22UEGDsTvIVCJQ=; b=hlW+hgrLkXBfcAr8goVynT7LpwFEMaAwHbjBEC85HcFrPZHj0subuGtcHVZo6MmYpiZwRLwYUyICJkxsgNVQ2fOystQYbsKabyGG5W7UbDOk/Od9xEXK2l/3wfBf4uVqxMshc5Ngs+NKUJIe0RsSKnVE3zLL/vLbx7HTjJ4EkmA=
  • 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, at 7:40 AM, Ed Watkeys wrote:

A couple candidates:

* Collections are functions.
* Automatic composition and negation of functions.
  E.g. foo:~bar ==> (fn (x) (foo (no (bar x))))

* Really? It's not just an eval hack? 
I haven't looked yet, but I assumed arc's eval just did something like: 
...
(cond 
 ((string? (car form)) (string-ref (car form) (cadr form)))
 ((list? (car form)) (list-ref (car form) (cadr form))) ... 

arc> (type '(1 2 3)) => cons
arc> (type "1 2 3")) => string

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

* It's pretty sweet, but it may be strengthening the Perl argument.
It may be a bit too much magic, though I really have to say, it's
a rad idea. 

Can't wait to see the first non-mzscheme requiring arc interpreter. I give it a few days.