diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/type/implicit.lux | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/source/lux/type/implicit.lux b/stdlib/source/lux/type/implicit.lux index 652ff6127..55583e45f 100644 --- a/stdlib/source/lux/type/implicit.lux +++ b/stdlib/source/lux/type/implicit.lux @@ -4,6 +4,7 @@ ["." monad (#+ Monad do)] ["eq" equivalence]] [control + ["." try] ["p" parser ["s" code (#+ Parser)]]] [data @@ -132,7 +133,7 @@ (do macro.monad [local-batches macro.locals #let [total-locals (list@fold (function (_ [name type] table) - (dict.try-put name type table)) + (try.default table (dict.try-put name type table))) (: (Dictionary Text Type) (dict.new text.hash)) (list@join local-batches))]] |