| a pipe operator could be convenient. it would turn this: a >> b
into this: (b a)
it's left-associative, so that: a >> b >> c
becomes: (c (b a))
thanks to Arc's lightweight lambda syntax this would allow for a nice version of the anaphoric sequential patterns: 8
>> [exp _ 5]
>> [take-away _ 'monkeys]
>> [prn _ "monkeys left"]
with the benefit that the piping can be done "points-free" where applicable: (annoying 'io 'operation)
>> process-results
>> errorcheck
>> [case _
error (prn "bah")
success (prn "meh")]
|