I'm getting into some Lisp, and I've come across various different functions that to me appear to be doing the same thing... Namely printing to console... So what exactly is the difference between all those different functions?
相关问题
- Generating powerset in one function, no explicit r
- Drakma and Dexador both fails at USocket call whil
- Forming Lisp code to task — related to flatten lis
- clisp 2.49: asdf cannot find asd
- unfold function in scheme
相关文章
- Does learning one Lisp help in learning the other?
- Common Lisp: Why does my tail-recursive function c
- What is the definition of “natural recursion”?
- How do I write a macro-defining macro in common li
- How can I unintern a qualified method?
- Changing the nth element of a list
- Is a “transparent” macrolet possible?
- sleep in emacs lisp
This is answered here: http://www.lispworks.com/documentation/HyperSpec/Body/f_wr_pr.htm
write
is the general entry point to the Lisp printer.prin1
produces output suitable for input toread
.princ
is just likeprin1
except that the output has no escape characters.princ
is intended to look good to people, while output fromprin1
is intended to be acceptable to read.print
is just likeprin1
except that the printed representation of object is preceded by a newline and followed by a space.pprint
produces pretty output.