X-Git-Url: https://git.piment-noir.org/?p=TD_LISP.git;a=blobdiff_plain;f=functions.lsp;fp=functions.lsp;h=0000000000000000000000000000000000000000;hp=79c4c556c7ed5bc28e258ea7f588eb5c2b4eef17;hb=15c46339dbd746558fb5b82c2823e0ede2cc7bfd;hpb=a5273e70fe54850ee147232848c009ede063ee7b diff --git a/functions.lsp b/functions.lsp deleted file mode 100755 index 79c4c55..0000000 --- a/functions.lsp +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env newlisp - -; function addition -(define (f x y) (+ x y)) -(println (f 1 2)) - -(define f (lambda (x y) (+ x y))) -(setq f (lambda (x y) (+ x y))) -;(set 'f (lambda (x y) (+ x y))) -(println (f 1 2)) -(println ((lambda (x y) (+ x y)) 1 2)) - -(exit)