mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Load A File Into The REPL as a clojure til.
This commit is contained in:
13
clojure/load-a-file-into-the-repl.md
Normal file
13
clojure/load-a-file-into-the-repl.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Load A File Into The REPL
|
||||
|
||||
You can quickly load a file into a REPL session using the `load-file`
|
||||
function. You can specify an absolute or relative path and it will
|
||||
|
||||
> sequentially read and evaluate the set of forms contained in the file.
|
||||
|
||||
```clojure
|
||||
(load-file "path/to/file.clj")
|
||||
```
|
||||
|
||||
See the [`load-file` docs](https://clojuredocs.org/clojure.core/load-file)
|
||||
for more details.
|
||||
Reference in New Issue
Block a user