Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What's the appeal of LISP

Name: Anonymous 2007-08-31 17:49 ID:eOTcF6wL

Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in.

Name: Anonymous 2007-09-01 1:00 ID:div4kVll

Well, there you go. :/ sort of. The functions aren't created within one another (that would be more work), and using lambda forms to define temporary names feels like cheating.

(funcall ((lambda (c a) #'(lambda (n) (funcall a c a (1+ n))))
      #'(lambda (c a i)
          (if (= i 1)
          1
          (funcall a c a (1- i))))
      #'(lambda (c a i)
          (if (= i 1)
          0
          (+ (funcall a c a (1- i)) (funcall c c a (1- i))))))
      i)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List