2 ms·
If you're using the TXR Lisp REPL, be sure to make a ~/.txr_profile file that has this: (if (real-time-stream-p *stdin*) (put-line (quip))) Then you wil
by kazinator 3y ago
If you're using the TXR Lisp REPL, be sure to make a ~/.txr_profile file that has this:
(if (real-time-stream-p *stdin*)
(put-line (quip)))
Then you will see a random humorous quip on startup.
The stream test around the put-line is recommended, otherwise you will see the quip even if the REPL is used in a pipe:
$ echo '(+ 2 2)' | txr
4