diff options
Diffstat (limited to 'pit/lisp/essential.pit')
| -rw-r--r-- | pit/lisp/essential.pit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pit/lisp/essential.pit b/pit/lisp/essential.pit new file mode 100644 index 0000000..6235264 --- /dev/null +++ b/pit/lisp/essential.pit @@ -0,0 +1,4 @@ +(defun! list/map (f xs) + (if xs + (cons (funcall f (car xs)) (list/map f (cdr xs))) + nil))
\ No newline at end of file |
