Skip to content

Commit

Permalink
Described *1-*3,*e in repl-welcome
Browse files Browse the repository at this point in the history
I have learned only by chance about the fact that REPL stores evaluation results in *1 - *3 and the last exception in *e. I am certainly not the only one unaware of this so it would be good to include it in the welcome message.

(For random visitors: they are defined in clojure's [`./src/clj/clojure/main.clj`](https://github.com/clojure/clojure/blob/master/src/clj/clojure/main.clj).)
  • Loading branch information
Jakub Holy committed Aug 24, 2013
1 parent 762544a commit ac36df6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/repl-welcome
Expand Up @@ -3,3 +3,4 @@
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e

0 comments on commit ac36df6

Please sign in to comment.