diff options
Diffstat (limited to 'stdlib/source/lux/pipe.lux')
-rw-r--r-- | stdlib/source/lux/pipe.lux | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/stdlib/source/lux/pipe.lux b/stdlib/source/lux/pipe.lux index 5c553b7ec..c0b99bd5b 100644 --- a/stdlib/source/lux/pipe.lux +++ b/stdlib/source/lux/pipe.lux @@ -70,12 +70,11 @@ g!temp))))))))) (syntax: #export (!> [test body^] [then body^] prev) - {#;doc (doc - "Loops for pipes." - "Both the testing and calculating steps are pipes and must be given inside tuples." - (|> 1 - (!> [(i.< 10)] - [i.inc])))} + {#;doc (doc "Loops for pipes." + "Both the testing and calculating steps are pipes and must be given inside tuples." + (|> 1 + (!> [(i.< 10)] + [i.inc])))} (with-gensyms [g!temp] (wrap (list (` (loop [(~ g!temp) (~ prev)] (if (|> (~ g!temp) (~@ test)) |