aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/function/polymorphism/context.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/control/function/polymorphism/context.lux')
-rw-r--r--stdlib/source/library/lux/control/function/polymorphism/context.lux10
1 files changed, 7 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/control/function/polymorphism/context.lux b/stdlib/source/library/lux/control/function/polymorphism/context.lux
index ce9d5a149..904cc100c 100644
--- a/stdlib/source/library/lux/control/function/polymorphism/context.lux
+++ b/stdlib/source/library/lux/control/function/polymorphism/context.lux
@@ -25,7 +25,7 @@
[syntax (.only syntax)
["[0]" export]]]
[type
- [primitive (.except #name)]]]]]
+ ["[0]" primitive (.except def #name)]]]]]
[///
["//" mixin]])
@@ -37,7 +37,7 @@
(scope (alteration context))))
(with_expansions [<representation> Symbol]
- (primitive .public Layer
+ (primitive.def .public Layer
<representation>
(.def .public layer
@@ -93,7 +93,11 @@
#export_policy Code
#scenarios (List Code)]))
-(context.def [stack expression declaration] Polymorphism)
+(context.def
+ [stack]
+ [expression]
+ [declaration]
+ Polymorphism)
(type Signature
(Record