diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/documentation/lux/control/concurrency/stm.lux | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/stdlib/source/documentation/lux/control/concurrency/stm.lux b/stdlib/source/documentation/lux/control/concurrency/stm.lux index 662bd2768..1d2c75baa 100644 --- a/stdlib/source/documentation/lux/control/concurrency/stm.lux +++ b/stdlib/source/documentation/lux/control/concurrency/stm.lux @@ -1,14 +1,14 @@ (.using - [library - [lux {"-" if loop} - ["$" documentation {"+" documentation:}] - [data - [text {"+" \n} - ["%" format {"+" format}]]] - [macro - ["[0]" template]]]] - [\\library - ["[0]" /]]) + [library + [lux {"-" if loop} + ["$" documentation {"+" documentation:}] + [data + [text {"+" \n} + ["%" format {"+" format}]]] + [macro + ["[0]" template]]]] + [\\library + ["[0]" /]]) (documentation: (/.Var it) "A mutable cell containing a value, and observers that will be alerted of any change to it.") @@ -17,9 +17,9 @@ "Creates a new STM var, with a default value." [(var value)]) -(documentation: /.follow! +(documentation: /.changes "Creates a channel that will receive all changes to the value of the given var." - [(follow! target)]) + [(changes target)]) (documentation: (/.STM it) "A computation which updates a transaction and produces a value.") @@ -40,7 +40,7 @@ "" [..Var ..var - ..follow! + ..changes ..STM ..update ..commit! |