| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Agda.Utils.IndexMap
Description
Maps from de Bruijn indices, implemented using IntMaps from de
Bruijn levels.
Documentation
Maps from de Bruijn indices.
snoc :: IndexMap a -> a -> IndexMap a Source #
Inserts a new binding, which will have de Bruijn index 0, and shifts other bindings one step.
append :: IndexMap a -> [a] -> IndexMap a Source #
Inserts a number of new bindings. The last element in the list will have de Bruijn index 0.