summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Orst <andreyorst@gmail.com>2020-11-18 21:29:19 +0300
committerAndrey Orst <andreyorst@gmail.com>2020-11-18 21:29:19 +0300
commitd78fc3f0bca806f0f845057f2af0047612f1a8e4 (patch)
tree3721d793210aa5dc3af115077945ae42f4f108e4
parent8a136eaa444f4569fced95fb175ca41b1e8e9b94 (diff)
feature(macros): add name metamethod to multifn
-rw-r--r--cljlib-macros.fnl1
1 files changed, 1 insertions, 0 deletions
diff --git a/cljlib-macros.fnl b/cljlib-macros.fnl
index 7ff93bd..9352db4 100644
--- a/cljlib-macros.fnl
+++ b/cljlib-macros.fnl
@@ -784,6 +784,7 @@ See [`into`](#into) for more info on how conversion is done."
"' for dispatch value: "
(tostr# dispatch-value#))
2)) ...)))
+ :__name "multifn"
:multimethods (setmetatable multimethods#
{:__index
(fn [tbl# key#]