aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/analyser/function.lux
diff options
context:
space:
mode:
authorEduardo Julian2017-09-08 19:20:08 -0400
committerEduardo Julian2017-09-08 19:20:08 -0400
commitbe53e45ca4d75fa87a9029f84b95958e19a4b4fa (patch)
tree2312f9bf7adf028a08460264b0c6dcbc1f110b91 /new-luxc/source/luxc/analyser/function.lux
parent06713336cdfd09db3eba26eda2c04db05bcd71e4 (diff)
- Re-named luxc/env to luxc/scope.
Diffstat (limited to 'new-luxc/source/luxc/analyser/function.lux')
-rw-r--r--new-luxc/source/luxc/analyser/function.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/analyser/function.lux b/new-luxc/source/luxc/analyser/function.lux
index f1d7fdd31..31bc367f4 100644
--- a/new-luxc/source/luxc/analyser/function.lux
+++ b/new-luxc/source/luxc/analyser/function.lux
@@ -9,7 +9,7 @@
(type ["TC" check]))
(luxc ["&" base]
(lang ["la" analysis #+ Analysis])
- ["&;" env]
+ ["&;" scope]
(analyser ["&;" common]
["&;" inference])))
@@ -79,8 +79,8 @@
&;with-scope
## Functions have access not only to their argument, but
## also to themselves, through a local variable.
- (&env;with-local [func-name functionT])
- (&env;with-local [arg-name inputT])
+ (&scope;with-local [func-name functionT])
+ (&scope;with-local [arg-name inputT])
(&;with-expected-type outputT)
(analyse body))