Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Here-document/Common-Lisp/here-document.lisp
Normal file
10
Task/Here-document/Common-Lisp/here-document.lisp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
;; load cl-heredoc with QuickLisp
|
||||
(ql:quickload 'cl-heredoc)
|
||||
|
||||
;; use #>xxx>yyyyyyyy!xxx as read-macro for heredoc
|
||||
(set-dispatch-macro-character #\# #\> #'cl-heredoc:read-heredoc)
|
||||
|
||||
;; example:
|
||||
(format t "~A~%" #>eof1>Write whatever (you) "want",
|
||||
no matter how many lines or what characters until
|
||||
the magic end sequence has been reached!eof1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue