From 3f76b52f46b58ab0d1dd8846edb43db95c391219 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 27 Jan 2017 06:10:37 -0400 Subject: - Now, the only way to unfollow a Var is by closing the Chan. - Following a var no longer requires a label. --- stdlib/test/test/lux/concurrency/stm.lux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/test') diff --git a/stdlib/test/test/lux/concurrency/stm.lux b/stdlib/test/test/lux/concurrency/stm.lux index ef100d744..10c6a5242 100644 --- a/stdlib/test/test/lux/concurrency/stm.lux +++ b/stdlib/test/test/lux/concurrency/stm.lux @@ -17,7 +17,7 @@ (test: "STM" (do promise;Monad [#let [_var (&;var 0) - changes (io;run (&;follow "test" _var))] + changes (io;run (&;follow _var))] output1 (&;commit (&;read _var)) output2 (&;commit (do &;Monad [_ (&;write 5 _var)] -- cgit v1.2.3