diff options
Diffstat (limited to 'stdlib/source/documentation/lux/control/io.lux')
-rw-r--r-- | stdlib/source/documentation/lux/control/io.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/documentation/lux/control/io.lux b/stdlib/source/documentation/lux/control/io.lux index 2e650626b..0e40e42f2 100644 --- a/stdlib/source/documentation/lux/control/io.lux +++ b/stdlib/source/documentation/lux/control/io.lux @@ -23,9 +23,9 @@ ($.definition /.io (format "Delays the evaluation of an expression, by wrapping it in an IO 'thunk'." \n "Great for wrapping effectful computations (which will not be performed until the IO is 'run!').") - [(io (exec - (log! msg) - "Some value..."))]) + ($.example (io (exec + (log! msg) + "Some value...")))) ($.definition /.run! "A way to execute IO computations and perform their side-effects.") |