diff options
Diffstat (limited to 'stdlib/source/library/lux/tool/compiler/reference.lux')
-rw-r--r-- | stdlib/source/library/lux/tool/compiler/reference.lux | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/stdlib/source/library/lux/tool/compiler/reference.lux b/stdlib/source/library/lux/tool/compiler/reference.lux index 8823b29e2..e8714bb2a 100644 --- a/stdlib/source/library/lux/tool/compiler/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/reference.lux @@ -1,6 +1,6 @@ (.module: [library - [lux #* + [lux (#- local) [abstract [equivalence (#+ Equivalence)] [hash (#+ Hash)]] @@ -16,14 +16,14 @@ ["." / #_ ["#." variable (#+ Variable)]]) -(type: #export Constant +(type: .public Constant Name) -(type: #export Reference +(type: .public Reference (#Variable Variable) (#Constant Constant)) -(implementation: #export equivalence +(implementation: .public equivalence (Equivalence Reference) (def: (= reference sample) @@ -37,7 +37,7 @@ _ false))) -(implementation: #export hash +(implementation: .public hash (Hash Reference) (def: &equivalence @@ -54,29 +54,29 @@ ))) (template [<name> <family> <tag>] - [(template: #export (<name> content) - (<| <family> - <tag> - content))] + [(template: .public (<name> content) + [(<| <family> + <tag> + content)])] [local #..Variable #/variable.Local] [foreign #..Variable #/variable.Foreign] ) (template [<name> <tag>] - [(template: #export (<name> content) - (<| <tag> - content))] + [(template: .public (<name> content) + [(<| <tag> + content)])] [variable #..Variable] [constant #..Constant] ) -(def: #export self +(def: .public self Reference (..local 0)) -(def: #export format +(def: .public format (Format Reference) (|>> (case> (#Variable variable) (/variable.format variable) |