File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed
Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ ; ;; The following lines added by ql:add-to-init-file:
2+ #- quicklisp
3+ (let ((quicklisp-init (merge-pathnames
4+ " quicklisp/setup.lisp"
5+ (user-homedir-pathname ))))
6+ (when (probe-file quicklisp-init)
7+ (load quicklisp-init)))
Original file line number Diff line number Diff line change 1+ FROM ubuntu:latest
2+
3+ RUN apt-get update && \
4+ apt-get install -y wget clisp && \
5+ wget -O /quicklisp.lisp https://beta.quicklisp.org/quicklisp.lisp && \
6+ clisp -x "(load 'quicklisp) (quicklisp-quickstart:install)"
7+ COPY .clisprc.lisp /root/.clisprc.lisp
8+
9+ VOLUME /sources
Original file line number Diff line number Diff line change 1+ (defun factorial (n)
2+ (if (= n 0 )
3+ 1
4+ (* n (factorial (- n 1 )))))
5+
6+
7+ (print (factorial 5 ))
You can’t perform that action at this time.
0 commit comments