aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Julian2017-01-06 19:33:02 -0400
committerEduardo Julian2017-01-06 19:33:02 -0400
commit39a29a47313a50805dc323a3ccd949659188c8e2 (patch)
tree4fd7ddd465d94e6ce3180cf06c5ccc2356a3e27b
parent4dc64964009674d947f97639bdfae4faa544bc6c (diff)
- Now returning full module information, instead of just module names.
-rw-r--r--stdlib/source/lux/compiler.lux3
1 files changed, 1 insertions, 2 deletions
diff --git a/stdlib/source/lux/compiler.lux b/stdlib/source/lux/compiler.lux
index 2f3fdbe3c..374556972 100644
--- a/stdlib/source/lux/compiler.lux
+++ b/stdlib/source/lux/compiler.lux
@@ -506,11 +506,10 @@
(def: #export modules
{#;doc "All the available modules (including the current one)."}
- (Lux (List Text))
+ (Lux (List [Text Module]))
(lambda [state]
(|> state
(get@ #;modules)
- (List/map product;left)
[state]
#;Right)))