Closed AndreVanDelft closed 8 years ago
I just read in lihaoyi/Ammonite Rock-solid shell scripting:
Ammonite brings with it the |> operator on all values, defined as:
implicit class Pipeable[T](t: T){
def |>[V](f: T => V) = f(t)
}
It basically lets you write a |> b rather than b(a). It does nothing more
(end quote) So this may be a better option than the colon.
To have less parentheses, there is currently syntax
print,i
During a discussion on Reddit it appeared that a colon would look better:print: i