(mod)
module (source file)
clojure
(mod)Behavior
- Useful as a file-level anchor with operators like
:at.
Examples
Find eager module-level file reads that run on load.
clojure
(:at (mod) (call (id read_to_string)))Selects in lines { 3 } but not in { 6 }:
rust
use std::fs::read_to_string;
let _ = read_to_string("config.json");
fn load() {
read_to_string("nested.json");
}