File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
33
33
- [ Evaluate One Liners With lein-exec] ( clojure/evaluate-one-liners-with-lein-exec.md )
34
34
- [ Expanding Macros] ( clojure/expanding-macros.md )
35
35
- [ Get The Value Of An Environment Variable] ( clojure/get-the-value-of-an-environment-variable.md )
36
+ - [ Load A File Into The REPL] ( clojure/load-a-file-into-the-repl.md )
36
37
- [ Mapping With An Index] ( clojure/mapping-with-an-index.md )
37
38
- [ Open JavaDocs] ( clojure/open-javadocs.md )
38
39
- [ Pretty Print The Last Thing] ( clojure/pretty-print-the-last-thing.md )
Original file line number Diff line number Diff line change
1
+ # Load A File Into The REPL
2
+
3
+ You can quickly load a file into a REPL session using the ` load-file `
4
+ function. You can specify an absolute or relative path and it will
5
+
6
+ > sequentially read and evaluate the set of forms contained in the file.
7
+
8
+ ``` clojure
9
+ (load-file " path/to/file.clj" )
10
+ ```
11
+
12
+ See the [ ` load-file ` docs] ( https://clojuredocs.org/clojure.core/load-file )
13
+ for more details.
You can’t perform that action at this time.
0 commit comments