On 4/22/09 11:19 PM, "Werner LEMBERG" <w...@gnu.org> wrote: > > >>> Please review this patch here: >>> >>> http://codereview.appspot.com/8874/show >> >> Looks good! > > I'm not a good lisp programmer, but isn't the standard method for > searching like that to not use a loop but recursive calls? It doesn't > really matter, but Han-Wen likes to use recursive calls a lot :-) > This code actually uses recursive calls to the procedure loop, which is defined in a let block, if I read it correctly. And it's consistent with what I find online for binary searches in Scheme: http://www.math.grin.edu/~stone/events/scheme-workshop/binary-search.html Carl _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
- [PATCH] Markup commands \left-brace and \right-brace Neil Puttock
- Re: [PATCH] Markup commands \left-brace and \right... Carl Sorensen
- Re: [PATCH] Markup commands \left-brace and \r... Werner LEMBERG
- Re: [PATCH] Markup commands \left-brace an... Jan Nieuwenhuizen
- Re: [PATCH] Markup commands \left-brac... Neil Puttock
- Re: [PATCH] Markup commands \left... Carl D. Sorensen
- Re: [PATCH] Markup commands \... Neil Puttock
- Re: [PATCH] Markup commands \left... Neil Puttock
- Re: [PATCH] Markup commands \... Valentin Villenave
- Re: [PATCH] Markup comman... Neil Puttock
- Re: [PATCH] Markup commands \left-brace an... Carl D. Sorensen
- Re: [PATCH] Markup commands \left-brace an... Neil Puttock
- Re: [PATCH] Markup commands \left-brace and \right... Mats Bengtsson
- Re: [PATCH] Markup commands \left-brace and \r... Neil Puttock