monoid and fold rearranging

This commit is contained in:
Stephen Diehl
2016-12-13 09:14:39 +00:00
parent 0fb7730b0c
commit cc0565112f
4 changed files with 27 additions and 0 deletions
+11
View File
@@ -109,3 +109,14 @@ filter :: (a -> Bool) -> [a] -> [a]
```haskell
replicate :: Int -> a -> [a]
```
Indexing
--------
```haskell
atMay :: [a] -> Int -> Maybe a
```
```haskell
atDef :: a -> [a] -> Int -> a
```