Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sbcl
- This is SBCL 1.2.2, an implementation of ANSI Common Lisp.
- More information about SBCL is available at <http://www.sbcl.org/>.
- SBCL is free software, provided as is, with absolutely no warranty.
- It is mostly in the public domain; some portions are provided under
- BSD-style licenses. See the CREDITS and COPYING files in the
- distribution for more information.
- * (defun pread (x)
- (format *query-io* "~a:" x)
- (force-output *query-io*)
- (read-line *query-io*))
- PREAD
- * (pread "Hello")
- Hello:hello
- "hello"
- NIL
- * (defun test-read ()
- (read-line *query-io*))
- TEST-READ
- * (test-read)
- hello
- "hello"
- NIL
- *
Add Comment
Please, Sign In to add comment