17 lines
293 B
Markdown
17 lines
293 B
Markdown
|
|
## Lists
|
|
|
|
```hs
|
|
------------ !! mapAccumL
|
|
mapAccumL :: (s -> a -> (s, b)) -> s -> [a] -> (s, [b])
|
|
------------
|
|
```
|
|
|
|
|
|
> Generics in C?
|
|
|
|
> Implement Haskell lists in Python
|
|
|
|
> Forall and exists in functional programming
|
|
|
|
https://hackage.haskell.org/package/base-4.3.1.0/docs/src/Data-List.html |