diff options
author | Eduardo Julian | 2022-03-15 22:45:49 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-03-15 22:45:49 -0400 |
commit | b0093a3849baaeb5e12692b2cf6ac65ba74bbd54 (patch) | |
tree | 26db4a468c2f75c64ba16e8b7dbf20f135d369fc /stdlib/source/library/lux/world | |
parent | bc36487224f670c23002cc4575c0dba3e5dc1be1 (diff) |
Leaner syntax for library/lux/control/exception.report
Diffstat (limited to 'stdlib/source/library/lux/world')
-rw-r--r-- | stdlib/source/library/lux/world/file.lux | 6 | ||||
-rw-r--r-- | stdlib/source/library/lux/world/file/watch.lux | 2 | ||||
-rw-r--r-- | stdlib/source/library/lux/world/program.lux | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/world/file.lux b/stdlib/source/library/lux/world/file.lux index ff9f2aeee..b50da2586 100644 --- a/stdlib/source/library/lux/world/file.lux +++ b/stdlib/source/library/lux/world/file.lux @@ -147,7 +147,7 @@ (template [<name>] [(exception: .public (<name> [file Path]) (exception.report - ["Path" file]))] + "Path" file))] [cannot_make_file] [cannot_find_file] @@ -812,8 +812,8 @@ ... (template [<name>] ... [(exception: .public (<name> [file Path]) ... (exception.report - ... ["Path" file]))] - + ... "Path" file))] + ... ... [cannot_write_to_file] ... ) diff --git a/stdlib/source/library/lux/world/file/watch.lux b/stdlib/source/library/lux/world/file/watch.lux index 65a75d232..8b100638b 100644 --- a/stdlib/source/library/lux/world/file/watch.lux +++ b/stdlib/source/library/lux/world/file/watch.lux @@ -95,7 +95,7 @@ (template [<name>] [(exception: .public (<name> [path //.Path]) (exception.report - ["Path" (%.text path)]))] + "Path" (%.text path)))] [not_being_watched] [cannot_poll_a_non_existent_directory] diff --git a/stdlib/source/library/lux/world/program.lux b/stdlib/source/library/lux/world/program.lux index 3da3c779f..2da3bad68 100644 --- a/stdlib/source/library/lux/world/program.lux +++ b/stdlib/source/library/lux/world/program.lux @@ -40,7 +40,7 @@ (exception: .public (unknown_environment_variable [name Text]) (exception.report - ["Name" (%.text name)])) + "Name" (%.text name))) (type: .public (Program !) (Interface |