Add some complexities to Data.List documentation (#15003)
authorSven Tennie <sven.tennie@gmail.com>
Sun, 16 Dec 2018 16:25:24 +0000 (17:25 +0100)
committerBen Gamari <ben@smart-cactus.org>
Tue, 18 Dec 2018 14:46:18 +0000 (09:46 -0500)
commitae4e4ba655f2d0d8a5cc8488ada628726e9cc147
treecc544619d7602d45218fef659c361e42700b4fb0
parentb00741030596f921486ea98a4956ff79a8caac1c
Add some complexities to Data.List documentation (#15003)

Namely for:
- stripPrefix
- isPrefixOf
- intersperse
- tails
- map
- scanl
- scanl1
- scanl'
- scanr
- scanr1
- zip
- zipWith

Add examples to `zipWith` and `map`.
libraries/base/Data/OldList.hs
libraries/base/GHC/Base.hs
libraries/base/GHC/List.hs