Re: What's so great about lisp?



Joe Marshall wrote:
> I like this example:
>
> (defun sort (x predicate)
> x)

Is that:

let sort x predicate = x

So you're looking for a warning because "predicate" was bound but never
used?

I've been looking at how many of the errors that I make are caught by the
static type checker and how many require debugging. I must say that the
vast majority are caught at compile time.

--
Dr Jon D Harrop, Flying Frog Consultancy
http://www.ffconsultancy.com
.



Relevant Pages

  • Re: Whats so great about lisp?
    ... >> (defun sort (x predicate) ... I wanted a warning that the output isn't sorted. ...
    (comp.lang.lisp)
  • Re: Scheme closures
    ... In comp.lang.scheme Joe Marshall wrote: ... >> There is no gurantee that it would, or that it would do so ... >> other predicate. ... at leats not in R5RS. ...
    (comp.lang.lisp)
  • Re: Scheme closures
    ... "Joe Marshall" wrote in message ... >> There is no gurantee that it would, or that it would do so ... >> other predicate. ...
    (comp.lang.lisp)
  • Re: More static type fun.
    ... Joe Marshall virkkoi: ... What kind of a predicate would compute whether a given ... Lauri Alanko ...
    (comp.lang.lisp)