|
|
|
|
|
by Raphael_Amiard
5050 days ago
|
|
The haxe macro reads the file at runtime. Your clojure macro reads the file at compile-time. The proper version would be : (defmacro get-file-contents [s]
(if-not (string? s)
(throw (Exception. "Expected string"))
`(slurp ~s)))
|
|