aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux
index c7ff46333..0b4ecc5e6 100644
--- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux
+++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux
@@ -31,14 +31,14 @@
[archive (#+ Archive)
["." artifact]]]]]]])
-(def: #export (apply expression archive [functionS argsS+])
+(def: .public (apply expression archive [functionS argsS+])
(Generator (Application Synthesis))
(do {! ///////phase.monad}
[functionO (expression archive functionS)
argsO+ (monad.map ! (expression archive) argsS+)]
(in (_.apply/* functionO argsO+))))
-(def: #export capture
+(def: .public capture
(-> Register SVar)
(|>> (///reference.foreign //reference.system) :assume))
@@ -66,7 +66,7 @@
(def: input
(|>> inc //case.register))
-(def: #export (function statement expression archive [environment arity bodyS])
+(def: .public (function statement expression archive [environment arity bodyS])
(-> Phase! (Generator (Abstraction Synthesis)))
(do {! ///////phase.monad}
[[[function_module function_artifact] body!] (/////generation.with_new_context archive