aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/spec/compositor
diff options
context:
space:
mode:
authorEduardo Julian2020-08-09 18:38:17 -0400
committerEduardo Julian2020-08-09 18:38:17 -0400
commitf79e39de3f605695a33acadf751be498f552930b (patch)
tree0fe49686a72fef910f7a861229826139e8bc1fd6 /stdlib/source/spec/compositor
parentb2cec28f75239fd11ab13a6ff896fb0bf0f7a19c (diff)
Allow "#io" outputs for JS imports.
Diffstat (limited to '')
-rw-r--r--stdlib/source/spec/compositor/generation/function.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/source/spec/compositor/generation/function.lux b/stdlib/source/spec/compositor/generation/function.lux
index 3de0301b8..e3112d799 100644
--- a/stdlib/source/spec/compositor/generation/function.lux
+++ b/stdlib/source/spec/compositor/generation/function.lux
@@ -2,7 +2,8 @@
[lux (#- function)
["_" test (#+ Test)]
[abstract
- [monad (#+ do)]]
+ [monad (#+ do)]
+ ["." enum]]
[control
[pipe (#+ case>)]]
[data
@@ -71,7 +72,7 @@
(_.test "Can read environment."
(or (n.= 1 arity)
(let [environment (|> partial-arity
- (list.n/range 1)
+ (enum.range n.enum 1)
(list@map (|>> #reference.Local)))
variableS (if (n.<= partial-arity local)
(synthesis.variable/foreign (dec local))