aboutsummaryrefslogtreecommitdiff
path: root/lux-r
diff options
context:
space:
mode:
authorEduardo Julian2021-09-13 00:29:57 -0400
committerEduardo Julian2021-09-13 00:29:57 -0400
commit376c3e472fbb1e2656f8c61b26e0276570609aa1 (patch)
treebc76d7aeff4f2b889ae262a64dc8d26b0476068d /lux-r
parent2dbbaaec93a53f8dd0b96a0028b9cf125c9066cd (diff)
Updated only/except import syntax to take into account record => variant syntax change.
Diffstat (limited to 'lux-r')
-rw-r--r--lux-r/source/program.lux36
-rw-r--r--lux-r/source/test/program.lux4
2 files changed, 20 insertions, 20 deletions
diff --git a/lux-r/source/program.lux b/lux-r/source/program.lux
index d3a0aca08..4ca0480ed 100644
--- a/lux-r/source/program.lux
+++ b/lux-r/source/program.lux
@@ -1,33 +1,33 @@
(.module:
[lux "*"
- [program {"+" [program:]}]
+ [program {"+" program:}]
["[0]" ffi]
["[0]" debug]
[abstract
- ["[0]" monad {"+" [do]}]]
+ ["[0]" monad {"+" do}]]
[control
- [pipe {"+" [exec> case> new>]}]
+ [pipe {"+" exec> case> new>}]
["[0]" maybe]
- ["[0]" try {"+" [Try]}]
- ["[0]" exception {"+" [exception:]}]
- ["[0]" io {"+" [IO io]}]
+ ["[0]" try {"+" Try}]
+ ["[0]" exception {"+" exception:}]
+ ["[0]" io {"+" IO io}]
[concurrency
- ["[0]" promise {"+" [Promise]}]]
+ ["[0]" promise {"+" Promise}]]
[parser
["<[0]>" code]]]
[data
["[0]" text ("[1]#[0]" hash)
- ["%" format {"+" [format]}]
+ ["%" format {"+" format}]
[encoding
["[0]" utf8]]]
[collection
- ["[0]" array {"+" [Array]}]]]
+ ["[0]" array {"+" Array}]]]
["[0]" macro
- [syntax {"+" [syntax:]}]
+ [syntax {"+" syntax:}]
["[0]" template]
["[0]" code]]
[math
- [number {"+" [hex]}
+ [number {"+" hex}
["n" nat]
["[0]" i64]]]
["[0]" world "_"
@@ -37,18 +37,18 @@
["_" r]]
[tool
[compiler
- [phase {"+" [Operation Phase]}]
+ [phase {"+" Operation Phase}]
[reference
- [variable {"+" [Register]}]]
+ [variable {"+" Register}]]
[language
[lux
- [program {"+" [Program]}]
- [generation {"+" [Context Host]}]
+ [program {"+" Program}]
+ [generation {"+" Context Host}]
["[0]" synthesis]
[analysis
- [macro {"+" [Expander]}]]
+ [macro {"+" Expander}]]
[phase
- ["[0]" extension {"+" [Extender Handler]}
+ ["[0]" extension {"+" Extender Handler}
["[1]/[0]" bundle]
["[0]" analysis "_"
["[1]" r]]
@@ -59,7 +59,7 @@
["[0]" r
["[0]" runtime]]]]]]
[default
- ["[0]" platform {"+" [Platform]}]]
+ ["[0]" platform {"+" Platform}]]
[meta
["[0]" packager "_"
["[1]" script]]]]]]
diff --git a/lux-r/source/test/program.lux b/lux-r/source/test/program.lux
index 0d306ffef..cbce7b97e 100644
--- a/lux-r/source/test/program.lux
+++ b/lux-r/source/test/program.lux
@@ -1,10 +1,10 @@
(.module:
[lux "*"
- ["_" test {"+" [Test]}]
+ ["_" test {"+" Test}]
[control
["[0]" io]
[parser
- [cli {"+" [program:]}]]]]
+ [cli {"+" program:}]]]]
[spec
["[0]" compositor]]
[\\