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

Syntax for typed lamdas

Name: Anonymous 2012-06-09 21:56

Help me /prog/, i'm making a language and i can't decide on what syntax to use for typed lambdas

Name: Anonymous 2012-06-11 19:34


(defun factorial (x)
  ((lambda (x)
     (if (integerp x)
         (cond ((zerop x) 1)
               ((minusp x) nil)
               (t (* x (factorial (1- x)))))
         nil))
   x))


Please go away /g/

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