Search found 2 matches

by wilku
Tue May 25, 2010 12:38 pm
Forum: Common Lisp
Topic: Problem with lambda
Replies: 2
Views: 2994

Re: Problem with lambda

It took me 15 more minutes to understand this even though you explained it very clearly.
This says something about the level of abstraction of higher functions :) (or my intelectual abilities :P )
Thank you for the answer.
by wilku
Mon May 24, 2010 2:52 pm
Forum: Common Lisp
Topic: Problem with lambda
Replies: 2
Views: 2994

Problem with lambda

Hi I'm trying to learn common lisp "by example" out of some course based on scheme. Here's my adaptation of the classic Newton algorithm to find square roots: (defun fixed-point (f start) (defvar tolerance 0.00001) (labels ((close-enough? (u v) (< (abs (- u v)) tolerance)) (iter (old new) ...