mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-28 21:00:56 +08:00
Added some information about function composition (#28102)
This commit is contained in:
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)).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user