Everywhere: Add docstring support

This commit is contained in:
Riyyi
2023-11-19 21:44:17 +01:00
parent 25871cd5d5
commit 536e55e75a
24 changed files with 401 additions and 62 deletions
+6 -4
View File
@@ -1,9 +1,11 @@
(defn load-file [filename]
(eval (read-string (str "(do " (slurp filename) "\nnil)"))))
(defn load-file [file]
"Load the Lisp file named FILE."
(eval (read-string (str "(do " (slurp file) "\nnil)"))))
(defn load [filename]
(eval (read-string (str "(let* [] (do " (slurp filename) "))"))))
(defn load [file]
"Load the Lisp file named FILE."
(eval (read-string (str "(let* [] (do " (slurp file) "))"))))
;; Local Variables:
;; eval: (emacs-lisp-mode)
+1 -1
View File
@@ -1,5 +1,5 @@
(def! *host-language* "C++")
(def *host-language* "C++")
;; Local Variables:
;; eval: (emacs-lisp-mode)
+3 -2
View File
@@ -1,6 +1,7 @@
(defn not [cond]
(if cond false true))
(defn not [object]
"Return true if OBJECT is nil or false, and return false otherwise."
(if object false true))
;; Local Variables:
;; eval: (emacs-lisp-mode)