swflint
11/12/2015 5:41:00 PM
Do I dare feed the troll?
>>>>> CAI GENGYANG writes:
CG> It just looks neat to me. Lisp has a bizarre syntax full of
CG> parentheses , but it is oddly simple and elegant ...
Why do you say lisp has a bizarre syntax? You seem to be asking such
simple questions that make it seem like you shouldn't have anything to
compare it to.
Yes, it is simple and elegant, but not oddly so.
CG> On Thursday, November 12, 2015 at 11:52:19 PM UTC+8, Barry Margolin wrote:
>> In article <b9450f86-6712-4f6a-b920-a8e7348743cd@googlegroups.com>,
>> CAI GENGYANG <gengyangcai@gmail.com> wrote:
>>
>> > This is an interesting function :
>>
>> Seems incredibly boring to me. What's interesting about it?
>>
>> > > (defun ask-number () > (format t "Please enter a number. ") >
>> (let ((val (read))) > (if (numberp val) val > (ask-number)))) > > >
>> (ask-number) > Please enter a number. a > Please enter a number. (ho
>> hum) > Please enter a number. 52 > 52
>>
>> -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post
>> questions in newsgroups, not directly to me ***
--
Samuel W. Flint
4096R/266596F4
(9477 D23E 389E 40C5 2F10 DE19 68E5 318E 2665 96F4)
(λs.s s) λs.s s