diff options
author | Eduardo Julian | 2019-10-16 00:51:45 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-10-16 00:51:45 -0400 |
commit | 688870c71829e1bee89c9f827cc2032507cc507b (patch) | |
tree | 8724a93a437936d8120143656d6e2926e68789cc /stdlib | |
parent | 2b5351eb4624ce3c3ada994caaaea77c9d397eb8 (diff) |
Small refactoring
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/tool/compiler/phase/generation/jvm.lux | 8 | ||||
-rw-r--r-- | stdlib/source/test/lux.lux | 2 | ||||
-rw-r--r-- | stdlib/source/test/lux/extension.lux | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/jvm.lux b/stdlib/source/lux/tool/compiler/phase/generation/jvm.lux index 23f3defea..b67ddcbcd 100644 --- a/stdlib/source/lux/tool/compiler/phase/generation/jvm.lux +++ b/stdlib/source/lux/tool/compiler/phase/generation/jvm.lux @@ -7,9 +7,9 @@ ["#." primitive] ["#." structure] ["#." reference] - ["#." function] - ## ["." case] - ## ["." loop] + ## ["#." function] + ## ["#." case] + ## ["#." loop] ["//#" /// ## ["." extension] [// @@ -58,7 +58,7 @@ ## (/loop.recur generate updates) ## (^ (synthesis.function/abstraction abstraction)) - ## (/function.function generate abstraction) + ## (/function.abstraction generate abstraction) ## (^ (synthesis.function/apply application)) ## (/function.apply generate application) diff --git a/stdlib/source/test/lux.lux b/stdlib/source/test/lux.lux index 4be2dcf27..34000d362 100644 --- a/stdlib/source/test/lux.lux +++ b/stdlib/source/test/lux.lux @@ -1,7 +1,7 @@ (.with-expansions [<host-modules> (.as-is [runtime (#+)] [primitive (#+)] [structure (#+)] - [function (#+)] + ## [function (#+)] [reference (#+)] ## [case (#+)] ## [loop (#+)] diff --git a/stdlib/source/test/lux/extension.lux b/stdlib/source/test/lux/extension.lux index f73ad63a1..645558d5f 100644 --- a/stdlib/source/test/lux/extension.lux +++ b/stdlib/source/test/lux/extension.lux @@ -41,6 +41,6 @@ (def: #export test Test (<| (_.context (%.name (name-of /._))) - (_.test "Can define and user analysis & synthesis extensions." + (_.test "Can define and use analysis & synthesis extensions." (text@= ("example YOLO") "example YOLO")))) |