Added some information about function composition (#28102)

This commit is contained in:
Sufiyan Samnani
2019-05-21 23:47:24 -06:00
committed by Christopher McCormack
parent 3a4402434b
commit 7e1fd378b6

View File

@ -22,3 +22,4 @@ main :: IO ()
main = printer hello
```
> Function compositions are a better way to write multiple nested functions in Haskell. In the above example, putStrLn.show is equivalent to (putStrLn (show)).