Added some information about function composition (#28102)
This commit is contained in:
committed by
Christopher McCormack
parent
3a4402434b
commit
7e1fd378b6
@ -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)).
|
||||
|
Reference in New Issue
Block a user