LISPOS: My manifesto

cosc19z5@bayou.uh.edu cosc19z5@bayou.uh.edu
Wed, 1 Apr 1998 08:13:18 -0600 (CST)


> The lambda way....

The true way :)


> 
> >>
> >> (select '(name) :from users :where (lambda (x) (= (acctnum x) 44833)))
> >>
> 
> 
> 



> The "normal" way...

The way of the unwashed, toothless masses :)

> 
> >>
> >> (select '(name) :from users :where '(acctnum = 44833))
> >>
> 
> 
> >



> 
> >Some compromise should be reached, because I would bitterly
> >oppose loss of the lambda expression in the where clause
> >at all costs -- even at the cost of the entire SQL project.
> >
> >If it doesn't have lambda, then it isn't worth writing.
> >
> 
> 
> 
>     Now tell me...how hard would it be to have the package accept *both*
> ways of doing things.  My experience with Lisp has been light but it would
> seem to me that it was then, and is now, quite possible to wrote the package
> to accept anything you threw at it.

It should be trivial.


>     You could easily have :WHERE for "standard" clauses and :WHEREL for the
> lambda case right?

Actually, we can just have :where for both the "standard"
and lambda clauses.  That would be the better way to
approach it.


> 
>                     Damo
> 


-- 
Cya,
Ahmed