|
|
|
|
|
by takle
3832 days ago
|
|
One could also change the Haskell. Data.Function (&);
Control.Arrow (>>>) -- the pipe operator seems to be all the rage these days
(|>) = (&)
-- forward application + forward composition
xs |> (drop 3 >>> filter p >>> take 5)
Only function application xs |> drop 3 |> filter p |> take 5
|
|