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

Why aren't you programming in LISP`?`?`

Name: Gagrid 2013-05-10 17:23


The expert ``programmer'' language.

C code to print from 1 to 10

import stdio.h

int main(){
  for (int i=1; i<=10; i++) {
    printf(yada yada);
  }
}





LISP


(loop for i from 1 to 10 do (print x))

Name: Anonymous 2013-05-11 12:51

(define (asdf x)
  (display x)
  (cond ((< x 10) (asdf (+ x 1)))))
(asdf 1)

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