aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/control/thread.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-05-23 02:05:12 -0400
committerEduardo Julian2018-05-23 02:05:12 -0400
commit0f32fc8e73681d860d12a5560952ed6640f034f1 (patch)
tree701a1cf8dfcddf2f13add6758c2954ca27b51ea1 /stdlib/source/lux/control/thread.lux
parent72950a540be3dc49a107700c77c0195db16a4f58 (diff)
- Minor improvements.
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/control/thread.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/control/thread.lux b/stdlib/source/lux/control/thread.lux
index 7d46f3707..5709b41bb 100644
--- a/stdlib/source/lux/control/thread.lux
+++ b/stdlib/source/lux/control/thread.lux
@@ -10,7 +10,7 @@
(type: #export (Box t v)
{#.doc "A mutable box holding a value."}
- (#.Primitive "#Box" (~ (list t v))))
+ (#.Primitive "#Box" (#.Cons t (#.Cons v #.Nil))))
(def: #export (box init)
(All [a] (-> a (All [!] (Thread ! (Box ! a)))))