aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/host/python.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/host/python.lux')
-rw-r--r--stdlib/source/lux/host/python.lux16
1 files changed, 9 insertions, 7 deletions
diff --git a/stdlib/source/lux/host/python.lux b/stdlib/source/lux/host/python.lux
index ce9a2e504..d2fe7f9c7 100644
--- a/stdlib/source/lux/host/python.lux
+++ b/stdlib/source/lux/host/python.lux
@@ -1,7 +1,7 @@
(.module:
[lux (#- Code not or and list if cond int comment)
[control
- pipe]
+ [pipe (#+ new> case> cond>)]]
[data
[number
["." frac]]
@@ -60,13 +60,15 @@
[Label Code]
)
- (abstract: #export Single {} Any)
- (abstract: #export Poly {} Any)
- (abstract: #export Keyword {} Any)
+ (template [<var> <brand>]
+ [(abstract: #export <brand> {} Any)
- (type: #export SVar (Var Single))
- (type: #export PVar (Var Poly))
- (type: #export KVar (Var Keyword))
+ (type: #export <var> (Var <brand>))]
+
+ [SVar Single]
+ [PVar Poly]
+ [KVar Keyword]
+ )
(def: #export var
(-> Text SVar)