j
k
j a
j l
............Greg Fitzgerald writes:
.........Greg Fitzgerald writes:
......Greg Fitzgerald writes:
...Greg Fitzgerald writes:
Greg Fitzgerald writes:
I've recently found myself using the expression: "foldr (.) id" to compose a list (or Foldable) of functions.
You want the Endo monoid: ghci> appEndo (Endo (+ 10) <> Endo (+ 20)) $ 3 33 John
Back to the thread
Back to the list