X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?p=wolf;a=blobdiff_plain;f=resources%2Fgoodcomment.lisp;fp=resources%2Fgoodcomment.lisp;h=986592615e116786b4352af4fe2243bbb964ee82;hp=0000000000000000000000000000000000000000;hb=c9508457e34796fd7fcd8029ecd3209582f4c945;hpb=243043b049ee29fb5fbe17286f40f3392b57cbd0 diff --git a/resources/goodcomment.lisp b/resources/goodcomment.lisp new file mode 100644 index 0000000..9865926 --- /dev/null +++ b/resources/goodcomment.lisp @@ -0,0 +1,36 @@ +(in-package #:nothing) + +(defun small-guy (a b) (+ a b)) + ; great comment here +(defun small-guy-2 (a b) (+ a b)) + +; this is a function definition +; comment about things +; yo +(defun hello-world (a b c) ; This comment is a test + (progn ; of things + (let ; ( and how + ((x y) ; comments can break + (z 9)) ; the evaluator and everything is ok + (with-open-file (str "increasinglylongfilenamesfailme.dat" :direction :input :if-does-not-exist :create) + (when ; because we don't care + (read-line str) + (format t "This file had some things in int, yay!~%")))))) +; what kinds of comments +; do to a file +; + +; header comments +(defun multiline-1 (a b c) + (+ a b)) + +; header comments +(defun multiline-1 (a b c) + (+ a b)) + +; then a comment for +; informational purpose + +(x y z) + +; Then a final comment in the file