aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/region.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/control/region.lux')
-rw-r--r--stdlib/source/library/lux/control/region.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/control/region.lux b/stdlib/source/library/lux/control/region.lux
index e752b57a9..4216a1e78 100644
--- a/stdlib/source/library/lux/control/region.lux
+++ b/stdlib/source/library/lux/control/region.lux
@@ -13,7 +13,7 @@
[collection
["[0]" list (.use "[1]#[0]" mix)]]]]]
[//
- ["[0]" exception (.only Exception exception)]])
+ ["[0]" exception (.only Exception)]])
(type (Cleaner r !)
(-> r (! (Try Any))))
@@ -31,8 +31,8 @@
"-----------------------------------------" text.new_line
text.new_line))
-(exception .public [a] (clean_up_error [error Text
- output (Try a)])
+(exception.def .public (clean_up_error [error output])
+ (All (_ a) (Exception [Text (Try a)]))
(format error
(when output
{try.#Success _}