From 688870c71829e1bee89c9f827cc2032507cc507b Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 16 Oct 2019 00:51:45 -0400 Subject: Small refactoring --- stdlib/source/lux/tool/compiler/phase/generation/jvm.lux | 8 ++++---- stdlib/source/test/lux.lux | 2 +- stdlib/source/test/lux/extension.lux | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'stdlib') 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 [ (.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")))) -- cgit v1.2.3