[Versa] Re: statements function

Chimezie Ogbuji chimezie at gmail.com
Tue Sep 13 12:07:17 MDT 2005


> > I like that.  Honestly, mostly because I think *something* has to be
> > done about the ugliness of having to escape expressions passed around
> > as strings.
> 
> That sounds like "I like my brother because he is my brother and I have
> too" :)

That's not really fair.  My point was that the current situation with
having to escape expressions passed to functions that evaluate them on
the fly good is so ridiculous that *any* suggestion is a good one. 
I'm not tied to the specific anonymous function syntax used above, but
I like the *general* idea of anonymous functions to solve that ugly
problem.

> I agree.  Would distribute, map, etc then take only anon functions (and
> not sub queries as strings)?

Wouldn't anon functions cover every situation where you *would* need
to pass a string, as well as provide additional
capability/flexibility?

> > So, what would this require of the grammar and the way current
> > functions work? Simply to allow anonymous functions to be arguments to
> > functions and expand how filtering functions work to include the use
> > of anonymous functions?
> >
> 
> I'll take another swing at the grammar if no one objects.
> 
> Mike

I don't.  I'm honestly better able to follow suggestions that are
associated with a grammer rather than stand alone examples, mostly
because Versa is very Lisp-like.


More information about the Versa mailing list