Skip to content

Commit 8e2185b

Browse files
committed
Extended documentation string of quickload
- Added defaults for arguments - Added example calls
1 parent d601e0d commit 8e2185b

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

quicklisp/client.lisp

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,34 @@
2323
(defgeneric quickload (systems &key verbose silent prompt explain &allow-other-keys)
2424
(:documentation
2525
"Load SYSTEMS the quicklisp way. SYSTEMS is a designator for a list
26-
of things to be loaded.")
26+
of things to be loaded.
27+
28+
VERBOSE defaults to NIL.
29+
SILENT defaults to NIL.
30+
PROMPT defaults to NIL.
31+
EXPLAIN defaults to T but is not used in the default method.
32+
33+
Examples:
34+
35+
Load a single SYSTEM like ALEXANDRIA with
36+
(ql:quickload \"alexandria\")
37+
or
38+
(ql:quickload :alexandria)
39+
40+
Load multiple SYSTEMS like ALEXANDRIA and SERAPEUM with
41+
(ql:quickload '(\"alexandria\" \"serapeum\"))
42+
or
43+
(ql:quickload '(:alexandria :serapeum))
44+
45+
Load SYSTEMS with verbose compilation (only dots are displayed otherwise to show the progress)
46+
(ql:quickload :alexandria :verbose t)
47+
48+
Load SYSTEMS suppressing output to *STANDARD-OUTPUT*
49+
(ql:quickload :alexandria :silent t)
50+
51+
Load SYSTEMS and get a prompt whether to continue
52+
(ql:quickload :alexandria :prompt t)
53+
")
2754
(:method (systems &key
2855
(prompt *quickload-prompt*)
2956
(silent nil)

0 commit comments

Comments
 (0)