| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
TOML.Utils.NonEmpty
Synopsis
- zipHistory :: NonEmpty a -> NonEmpty (NonEmpty a, a)
Documentation
zipHistory :: NonEmpty a -> NonEmpty (NonEmpty a, a) Source #
Annotates each element with the history of all past elements.
>>>zipHistory ["a", "b", "c"][(["a"], "a"), (["a", "b"], "b"), (["a", "b", "c"], "c")]