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

We should refuse ugliness and deficiency

Name: Anonymous 2011-07-31 18:22

Mathematics is ugly and deficient. Use finitism instead.
C/C++ is ugly and deficient. Who needs it, when he has assembler and good macro-system?
PHP/Python/Ruby is ugly and deficient. Even if has cheapass hosting.
Java/C# is ugly and deficient. Say this in the face of your retarded indian gandhi manager.
Basic/Pascal/ML/Haskell is ugly and deficient. Better having no school/college education at all, than touching algol static typing faeces.
...

The leaves only Lisp, which is beautiful and efficient silver bullet.

Name: Anonymous 2011-07-31 18:34

>>4

Hello World

(print "Hello, World!")



MAIN = <PRINTLN "Hello, World!">;
$EXEC MAIN;


Local variables

(let ((x (+ 1 2)))
  (* x x))



<ADD 1 2> :: sX,
  <Mul sX sX>;



Simple function

(defun square (x)
  (* x x))



Square sX = <Mul sX sX>;




Higher-order function

(defun map (f xs)
  (if xs
      (cons (funcall f (car xs))
            (map f (cdr xs)))))
(map #'square '(1 2 3))



Map {

  sF (sX eXs) = <APPLY sF sX> <Map sF (eXs)>;

  sF eXs =;

};


Calling higher-order function

(map #'square '(1 2 3))



<Map *Square (1 2 3)>

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