我试图弄清楚如何做一些事情
compositeFunctions :: [(a -> a)] -> (a -> a)
我以为我可以foldr用来连续折叠功能列表,但我无法解决任何问题.
foldr
haskell
haskell ×1