2 ms·
The language in question already has a dataflow/pipeline style by default, so expressions are generally read from left to right like this, except for some stand
by evincarofautumn 8y ago
The language in question already has a dataflow/pipeline style by default, so expressions are generally read from left to right like this, except for some standard syntactic sugar like infix operators and flow control blocks like “if” and “match”:
read eval print loop
stdin read
some_environment eval
pretty print
loop
[1, 2, 3] [4, 5, 6] \(+) zip_with
do (each_index) -> i, x {
if (x = 7) {
"Lucky seven!" say
} else {
["Value at index ", i show, " is ", x show]
concat say
}
}