Y
Hacker News
new
|
ask
|
show
|
jobs
by
alts
5449 days ago
Haskell:
(\>) x f = f x
Allows me to write in a more readable manner
[1..10] \> map (*2) \> filter (<5)
2 comments
nxn
5448 days ago
Heh, wrote the same function, except called mine $> because it's really just a flipped $.
link
contextfree
5449 days ago
Inspired by F#'s |> (which was of course inspired by Unix pipes) ?
link