Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
What's the appeal of LISP
1
Name:
Anonymous
2007-08-31 17:49
ID:eOTcF6wL
Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in.
10
Name:
Anonymous
2007-08-31 23:49
ID:IhPOGq6m
>>7
I dunno, I'm not sure if there is a lisp with arguments.callee or sumthin, and I'm not sure I want to have it.
(define (fib n)
(define (baby i) (if (= i 1) 1 (adult (- i 1)))
(define (adult i) (if (= i 1) 0 (+ (adult (- i 1)) (baby (- i 1)))))
(adult (+ 1 n)))
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List