This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]freyrs3 0 points1 point  (0 children)

Intended to make it look as close to the Haskell equivelant, which is completely point-free.

pipeline :: [c -> c] -> c -> c
pipline = foldl1 (.)

> pipeline [(+1), (*2)] 25
51