aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/world/file.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/world/file.lux8
1 files changed, 5 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/world/file.lux b/stdlib/source/library/lux/world/file.lux
index eb4bb69fa..1e2bdd90d 100644
--- a/stdlib/source/library/lux/world/file.lux
+++ b/stdlib/source/library/lux/world/file.lux
@@ -7,7 +7,7 @@
["[0]" pipe]
["[0]" maybe (.use "[1]#[0]" functor)]
["[0]" try (.only Try) (.use "[1]#[0]" functor)]
- ["[0]" exception (.only exception)]
+ ["[0]" exception (.only Exception)]
["[0]" io (.only IO) (.use "[1]#[0]" functor)]
["[0]" function]
[concurrency
@@ -147,7 +147,8 @@
(format parent (at fs separator) child))
(with_template [<name>]
- [(exception .public (<name> [file Path])
+ [(exception.def .public (<name> file)
+ (Exception Path)
(exception.report
(list ["Path" file])))]
@@ -813,7 +814,8 @@
... (def default_separator (..DIRECTORY_SEPARATOR))
... (with_template [<name>]
- ... [(exception .public (<name> [file Path])
+ ... [(exception.def .public (<name> file)
+ ... (Exception Path)
... (exception.report
... (list ["Path" file])))]