[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Markup commands \left-brace and \right-brace
From: |
Carl D. Sorensen |
Subject: |
Re: [PATCH] Markup commands \left-brace and \right-brace |
Date: |
Thu, 23 Apr 2009 07:09:42 -0600 |
On 4/22/09 11:19 PM, "Werner LEMBERG" <address@hidden> 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
Re: [PATCH] Markup commands \left-brace and \right-brace, Mats Bengtsson, 2009/04/24