summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macros.fnl8
1 files changed, 4 insertions, 4 deletions
diff --git a/macros.fnl b/macros.fnl
index 95346ca..ca31d58 100644
--- a/macros.fnl
+++ b/macros.fnl
@@ -409,10 +409,10 @@ returns the value without additional metadata.
(and res (> n 1)))))
(fn demethodize [s]
- (-> s
- tostring
- (string.gsub ":" ".")
- sym))
+ (let [s (-> s
+ tostring
+ (string.gsub ":" "."))]
+ (sym s)))
(fn fn* [name doc? ...]
"Create (anonymous) function of fixed arity.