/usr/share/doc/libghc-generic-trie-doc/html/Data-GenericTrie-Internal.html is in libghc-generic-trie-doc 0.3.0.2-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Data.GenericTrie.Internal</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Data-GenericTrie-Internal.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-GenericTrie-Internal.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">generic-trie-0.3.0.2: A map, where the keys may be complex structured data.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Trustworthy</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Data.GenericTrie.Internal</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Generic derivation implementation</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Unstable implementation details</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">class</span> <a href="#t:TrieKey">TrieKey</a> k <span class="keyword">where</span><ul class="subs"><li><span class="keyword">type</span> <a href="#t:TrieRep">TrieRep</a> k :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a></li></ul></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:Trie">Trie</a> k a = <a href="#v:MkTrie">MkTrie</a> (<a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k a)</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:OrdKey">OrdKey</a> k = <a href="#v:OrdKey">OrdKey</a> {<ul class="subs"><li><a href="#v:getOrdKey">getOrdKey</a> :: k</li></ul>}</li><li class="src short"><a href="#v:genericTrieNull">genericTrieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:genericTrieMap">genericTrieMap</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b</li><li class="src short"><a href="#v:genericTrieTraverse">genericTrieTraverse</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f) => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b)</li><li class="src short"><a href="#v:genericTrieShowsPrec">genericTrieShowsPrec</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a, GTrieKeyShow (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a></li><li class="src short"><a href="#v:genericInsert">genericInsert</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a</li><li class="src short"><a href="#v:genericLookup">genericLookup</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a</li><li class="src short"><a href="#v:genericDelete">genericDelete</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a</li><li class="src short"><a href="#v:genericMapMaybeWithKey">genericMapMaybeWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => (k -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b</li><li class="src short"><a href="#v:genericSingleton">genericSingleton</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a</li><li class="src short"><a href="#v:genericEmpty">genericEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a</li><li class="src short"><a href="#v:genericFoldWithKey">genericFoldWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => (k -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> r</li><li class="src short"><a href="#v:genericTraverseWithKey">genericTraverseWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f) => (k -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b)</li><li class="src short"><span class="keyword">type</span> <a href="#t:TrieRepDefault">TrieRepDefault</a> k = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor-Compose.html#t:Compose">Compose</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k))</li><li class="src short"><span class="keyword">class</span> <a href="#t:GTrieKey">GTrieKey</a> f <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><span class="keyword">data family</span> <a href="#t:GTrie">GTrie</a> (f :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:TrieKey" class="def">TrieKey</a> k <span class="keyword">where</span> <a href="src/Data-GenericTrie-Internal.html#TrieKey" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></p><div class="doc"><p>Types that may be used as the key of a <code><a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a></code>.</p><p>For <code>data</code> delcarations, the instance can be automatically derived from
a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a></code> instance.</p></div><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a id="t:TrieRep" class="def">TrieRep</a> k :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p><div class="doc"><p>Type of the representation of tries for this key.</p></div></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:trieEmpty" class="def">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><div class="doc"><p>Construct an empty trie</p></div><p class="src"><a id="v:trieNull" class="def">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><div class="doc"><p>Test for an empty trie</p></div><p class="src"><a id="v:trieLookup" class="def">trieLookup</a> :: k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><div class="doc"><p>Lookup element from trie</p></div><p class="src"><a id="v:trieInsert" class="def">trieInsert</a> :: k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><div class="doc"><p>Insert element into trie</p></div><p class="src"><a id="v:trieDelete" class="def">trieDelete</a> :: k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><div class="doc"><p>Delete element from trie</p></div><p class="src"><a id="v:trieSingleton" class="def">trieSingleton</a> :: k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><div class="doc"><p>Construct a trie holding a single value</p></div><p class="src"><a id="v:trieMap" class="def">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><div class="doc"><p>Apply a function to all values stored in a trie</p></div><p class="src"><a id="v:trieTraverse" class="def">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><div class="doc"><p>Traverse the values stored in a trie</p></div><p class="src"><a id="v:trieShowsPrec" class="def">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><div class="doc"><p>Show the representation of a trie</p></div><p class="src"><a id="v:trieMapMaybeWithKey" class="def">trieMapMaybeWithKey</a> :: (k -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><div class="doc"><p>Apply a function to the values of a <code><a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a></code> and keep the elements
of the trie that result in a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#v:Just">Just</a></code> value.</p></div><p class="src"><a id="v:trieFoldWithKey" class="def">trieFoldWithKey</a> :: (k -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><div class="doc"><p>Fold a trie with a function of both key and value.</p></div><p class="src"><a id="v:trieTraverseWithKey" class="def">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (k -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><div class="doc"><p>Traverse a trie with a function of both key and value.</p></div><p class="src"><a id="v:trieMergeWithKey" class="def">trieMergeWithKey</a> :: (k -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p><p class="src"><a id="v:trieEmpty" class="def">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><div class="doc"><p>Construct an empty trie</p></div><p class="src"><a id="v:trieSingleton" class="def">trieSingleton</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><div class="doc"><p>Construct a trie holding a single value</p></div><p class="src"><a id="v:trieNull" class="def">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><div class="doc"><p>Test for an empty trie</p></div><p class="src"><a id="v:trieLookup" class="def">trieLookup</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><div class="doc"><p>Lookup element from trie</p></div><p class="src"><a id="v:trieInsert" class="def">trieInsert</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><div class="doc"><p>Insert element into trie</p></div><p class="src"><a id="v:trieDelete" class="def">trieDelete</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><div class="doc"><p>Delete element from trie</p></div><p class="src"><a id="v:trieMap" class="def">trieMap</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><div class="doc"><p>Apply a function to all values stored in a trie</p></div><p class="src"><a id="v:trieTraverse" class="def">trieTraverse</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f) => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><div class="doc"><p>Traverse the values stored in a trie</p></div><p class="src"><a id="v:trieShowsPrec" class="def">trieShowsPrec</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a, GTrieKeyShow (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><div class="doc"><p>Show the representation of a trie</p></div><p class="src"><a id="v:trieMapMaybeWithKey" class="def">trieMapMaybeWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => (k -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><div class="doc"><p>Apply a function to the values of a <code><a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a></code> and keep the elements
of the trie that result in a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#v:Just">Just</a></code> value.</p></div><p class="src"><a id="v:trieFoldWithKey" class="def">trieFoldWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k) => (k -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><div class="doc"><p>Fold a trie with a function of both key and value.</p></div><p class="src"><a id="v:trieTraverseWithKey" class="def">trieTraverseWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f) => (k -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><div class="doc"><p>Traverse a trie with a function of both key and value.</p></div><p class="src"><a id="v:trieMergeWithKey" class="def">trieMergeWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k) => (k -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:TrieKey" class="caption collapser" onclick="toggleSection('i:TrieKey')">Instances</p><div id="section.i:TrieKey" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:1" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:1')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></span> <a href="src/Data-GenericTrie-Internal.html#line-322" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:1" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:2" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:2')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></span> <a href="src/Data-GenericTrie-Internal.html#line-250" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc"><p><code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></code> tries are implemented with <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-IntMap-Lazy.html#t:IntMap">IntMap</a></code>.</p></td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:2" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:3" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:3')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></span> <a href="src/Data-GenericTrie-Internal.html#line-190" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc"><p><code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></code> tries are implemented with <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-IntMap-Lazy.html#t:IntMap">IntMap</a></code>.</p></td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:3" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:4" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:4')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a></span> <a href="src/Data-GenericTrie-Internal.html#line-220" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc"><p><code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a></code> tries are implemented with <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Map-Lazy.html#t:Map">Map</a></code>.</p></td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:4" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:5" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:5')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> ()</span> <a href="src/Data-GenericTrie-Internal.html#line-321" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:5" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> () :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: () -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: () -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: () -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: () -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: (() -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: (() -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (() -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: (() -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> () c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:6" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:6')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> k => <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> [k]</span> <a href="src/Data-GenericTrie-Internal.html#line-329" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:6" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> [k] :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: [k] -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: [k] -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: [k] -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: [k] -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: ([k] -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: ([k] -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => ([k] -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: ([k] -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> [k] c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:7" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:7')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> k => <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-323" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:7" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> k) c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:8" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:8')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> k) => <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-288" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc"><p><code><a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a></code> tries are implemented with <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Map-Lazy.html#t:Map">Map</a></code>, this is
intended for cases where it is better for some reason
to force the use of a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Map-Lazy.html#t:Map">Map</a></code> than to use the generically
derived structure.</p></td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:8" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:9" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:9')"></span> (<a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> a, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> b) => <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b)</span> <a href="src/Data-GenericTrie-Internal.html#line-324" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:9" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Either.html#t:Either">Either</a> a b) c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:10" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:10')"></span> (<a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> a, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> b) => <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> (a, b)</span> <a href="src/Data-GenericTrie-Internal.html#line-325" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:10" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> (a, b) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: (a, b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: (a, b) -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: (a, b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: (a, b) -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: ((a, b) -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: ((a, b) -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => ((a, b) -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: ((a, b) -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b) c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:11" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:11')"></span> (<a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> a, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> b, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> c) => <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> (a, b, c)</span> <a href="src/Data-GenericTrie-Internal.html#line-326" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:11" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> (a, b, c) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: (a, b, c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: (a, b, c) -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: (a, b, c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: (a, b, c) -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: ((a, b, c) -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: ((a, b, c) -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => ((a, b, c) -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: ((a, b, c) -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c) c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:12" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:12')"></span> (<a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> a, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> b, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> c, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> d) => <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> (a, b, c, d)</span> <a href="src/Data-GenericTrie-Internal.html#line-327" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:12" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> (a, b, c, d) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: (a, b, c, d) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: (a, b, c, d) -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: (a, b, c, d) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: (a, b, c, d) -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: ((a, b, c, d) -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: ((a, b, c, d) -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => ((a, b, c, d) -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: ((a, b, c, d) -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d) c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:TrieKey:TrieKey:13" class="instance expander" onclick="toggleSection('i:ic:TrieKey:TrieKey:13')"></span> (<a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> a, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> b, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> c, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> d, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> e) => <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> (a, b, c, d, e)</span> <a href="src/Data-GenericTrie-Internal.html#line-328" class="link">Source</a> <a href="#t:TrieKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:TrieKey:TrieKey:13" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> (a, b, c, d, e) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: (a, b, c, d, e) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: (a, b, c, d, e) -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: (a, b, c, d, e) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: (a, b, c, d, e) -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: ((a, b, c, d, e) -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: ((a, b, c, d, e) -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => ((a, b, c, d, e) -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: ((a, b, c, d, e) -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (a, b, c, d, e) c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:Trie" class="def">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#Trie" class="link">Source</a> <a href="#t:Trie" class="selflink">#</a></p><div class="doc"><p>A map from keys of type <code>k</code>, to values of type <code>a</code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MkTrie" class="def">MkTrie</a> (<a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k a)</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Trie" class="caption collapser" onclick="toggleSection('i:Trie')">Instances</p><div id="section.i:Trie" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Trie:Functor:1" class="instance expander" onclick="toggleSection('i:id:Trie:Functor:1')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> k => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor.html#t:Functor">Functor</a> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-841" class="link">Source</a> <a href="#t:Trie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Trie:Functor:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fmap">fmap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b <a href="#v:fmap" class="selflink">#</a></p><p class="src"><a href="#v:-60--36-">(<$)</a> :: a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="#v:-60--36-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Trie:Foldable:2" class="instance expander" onclick="toggleSection('i:id:Trie:Foldable:2')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> k => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Foldable.html#t:Foldable">Foldable</a> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-844" class="link">Source</a> <a href="#t:Trie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Trie:Foldable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fold">fold</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> m => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k m -> m <a href="#v:fold" class="selflink">#</a></p><p class="src"><a href="#v:foldMap">foldMap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> m => (a -> m) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> m <a href="#v:foldMap" class="selflink">#</a></p><p class="src"><a href="#v:foldr">foldr</a> :: (a -> b -> b) -> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> b <a href="#v:foldr" class="selflink">#</a></p><p class="src"><a href="#v:foldr-39-">foldr'</a> :: (a -> b -> b) -> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> b <a href="#v:foldr-39-" class="selflink">#</a></p><p class="src"><a href="#v:foldl">foldl</a> :: (b -> a -> b) -> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> b <a href="#v:foldl" class="selflink">#</a></p><p class="src"><a href="#v:foldl-39-">foldl'</a> :: (b -> a -> b) -> b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> b <a href="#v:foldl-39-" class="selflink">#</a></p><p class="src"><a href="#v:foldr1">foldr1</a> :: (a -> a -> a) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> a <a href="#v:foldr1" class="selflink">#</a></p><p class="src"><a href="#v:foldl1">foldl1</a> :: (a -> a -> a) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> a <a href="#v:foldl1" class="selflink">#</a></p><p class="src"><a href="#v:toList">toList</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> [a] <a href="#v:toList" class="selflink">#</a></p><p class="src"><a href="#v:null">null</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:null" class="selflink">#</a></p><p class="src"><a href="#v:length">length</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:length" class="selflink">#</a></p><p class="src"><a href="#v:elem">elem</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> a => a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:elem" class="selflink">#</a></p><p class="src"><a href="#v:maximum">maximum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> a => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> a <a href="#v:maximum" class="selflink">#</a></p><p class="src"><a href="#v:minimum">minimum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> a => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> a <a href="#v:minimum" class="selflink">#</a></p><p class="src"><a href="#v:sum">sum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> a => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> a <a href="#v:sum" class="selflink">#</a></p><p class="src"><a href="#v:product">product</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> a => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> a <a href="#v:product" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Trie:Traversable:3" class="instance expander" onclick="toggleSection('i:id:Trie:Traversable:3')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> k => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Traversable.html#t:Traversable">Traversable</a> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-847" class="link">Source</a> <a href="#t:Trie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Trie:Traversable:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:traverse">traverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b) <a href="#v:traverse" class="selflink">#</a></p><p class="src"><a href="#v:sequenceA">sequenceA</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k (f a) -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a) <a href="#v:sequenceA" class="selflink">#</a></p><p class="src"><a href="#v:mapM">mapM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m => (a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> m (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b) <a href="#v:mapM" class="selflink">#</a></p><p class="src"><a href="#v:sequence">sequence</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k (m a) -> m (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a) <a href="#v:sequence" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Trie:Show:4" class="instance expander" onclick="toggleSection('i:id:Trie:Show:4')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a, <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> k) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a)</span> <a href="src/Data-GenericTrie-Internal.html#line-835" class="link">Source</a> <a href="#t:Trie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Trie:Show:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:OrdKey" class="def">OrdKey</a> k <a href="src/Data-GenericTrie-Internal.html#OrdKey" class="link">Source</a> <a href="#t:OrdKey" class="selflink">#</a></p><div class="doc"><p>Tries indexed by <code><a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a></code> will be represented as an ordinary <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Map-Lazy.html#t:Map">Map</a></code>
and the keys will be compared based on the <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a></code> instance for <code>k</code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:OrdKey" class="def">OrdKey</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:getOrdKey" class="def">getOrdKey</a> :: k</dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:OrdKey" class="caption collapser" onclick="toggleSection('i:OrdKey')">Instances</p><div id="section.i:OrdKey" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:OrdKey:Eq:1" class="instance expander" onclick="toggleSection('i:id:OrdKey:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> k => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-282" class="link">Source</a> <a href="#t:OrdKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:OrdKey:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:OrdKey:Ord:2" class="instance expander" onclick="toggleSection('i:id:OrdKey:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> k => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-282" class="link">Source</a> <a href="#t:OrdKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:OrdKey:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:OrdKey:Read:3" class="instance expander" onclick="toggleSection('i:id:OrdKey:Read:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Read.html#t:Read">Read</a> k => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Read.html#t:Read">Read</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-282" class="link">Source</a> <a href="#t:OrdKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:OrdKey:Read:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> [<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> [<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k] <a href="#v:readListPrec" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:OrdKey:Show:4" class="instance expander" onclick="toggleSection('i:id:OrdKey:Show:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> k => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-282" class="link">Source</a> <a href="#t:OrdKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:OrdKey:Show:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:OrdKey:TrieKey:5" class="instance expander" onclick="toggleSection('i:id:OrdKey:TrieKey:5')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> k) => <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-288" class="link">Source</a> <a href="#t:OrdKey" class="selflink">#</a></td><td class="doc"><p><code><a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a></code> tries are implemented with <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Map-Lazy.html#t:Map">Map</a></code>, this is
intended for cases where it is better for some reason
to force the use of a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Map-Lazy.html#t:Map">Map</a></code> than to use the generically
derived structure.</p></td></tr><tr><td colspan="2"><div id="section.i:id:OrdKey:TrieKey:5" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="src/Data-GenericTrie-Internal.html#TrieRep" class="link">Source</a> <a href="#t:TrieRep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:trieEmpty">trieEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieEmpty" class="link">Source</a> <a href="#v:trieEmpty" class="selflink">#</a></p><p class="src"><a href="#v:trieNull">trieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#trieNull" class="link">Source</a> <a href="#v:trieNull" class="selflink">#</a></p><p class="src"><a href="#v:trieLookup">trieLookup</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#trieLookup" class="link">Source</a> <a href="#v:trieLookup" class="selflink">#</a></p><p class="src"><a href="#v:trieInsert">trieInsert</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieInsert" class="link">Source</a> <a href="#v:trieInsert" class="selflink">#</a></p><p class="src"><a href="#v:trieDelete">trieDelete</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieDelete" class="link">Source</a> <a href="#v:trieDelete" class="selflink">#</a></p><p class="src"><a href="#v:trieSingleton">trieSingleton</a> :: <a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a <a href="src/Data-GenericTrie-Internal.html#trieSingleton" class="link">Source</a> <a href="#v:trieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:trieMap">trieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b <a href="src/Data-GenericTrie-Internal.html#trieMap" class="link">Source</a> <a href="#v:trieMap" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverse">trieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverse" class="link">Source</a> <a href="#v:trieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:trieShowsPrec">trieShowsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#trieShowsPrec" class="link">Source</a> <a href="#v:trieShowsPrec" class="selflink">#</a></p><p class="src"><a href="#v:trieMapMaybeWithKey">trieMapMaybeWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b <a href="src/Data-GenericTrie-Internal.html#trieMapMaybeWithKey" class="link">Source</a> <a href="#v:trieMapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieFoldWithKey">trieFoldWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> r <a href="src/Data-GenericTrie-Internal.html#trieFoldWithKey" class="link">Source</a> <a href="#v:trieFoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieTraverseWithKey">trieTraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f => (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b) <a href="src/Data-GenericTrie-Internal.html#trieTraverseWithKey" class="link">Source</a> <a href="#v:trieTraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:trieMergeWithKey">trieMergeWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) c) -> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) c) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) b -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) c <a href="src/Data-GenericTrie-Internal.html#trieMergeWithKey" class="link">Source</a> <a href="#v:trieMergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:OrdKey:TrieRep:6" class="instance expander" onclick="toggleSection('i:id:OrdKey:TrieRep:6')"></span> <span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k)</span> <a href="src/Data-GenericTrie-Internal.html#line-289" class="link">Source</a> <a href="#t:OrdKey" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:OrdKey:TrieRep:6" class="inst-details hide"><div class="src"><span class="keyword">type</span> <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> (<a href="Data-GenericTrie-Internal.html#t:OrdKey">OrdKey</a> k) = <a href="file:///usr/share/doc/ghc-doc/html/libraries/containers-0.5.7.1/Data-Map-Lazy.html#t:Map">Map</a> k</div></div></td></tr></table></div></div></div><h1 id="g:1">Generic derivation implementation</h1><div class="top"><p class="src"><a id="v:genericTrieNull" class="def">genericTrieNull</a> :: <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Data-GenericTrie-Internal.html#genericTrieNull" class="link">Source</a> <a href="#v:genericTrieNull" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code><a href="Data-GenericTrie-Internal.html#v:trieNull">trieNull</a></code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericTrieMap" class="def">genericTrieMap</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b <a href="src/Data-GenericTrie-Internal.html#genericTrieMap" class="link">Source</a> <a href="#v:genericTrieMap" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code><a href="Data-GenericTrie-Internal.html#v:trieMap">trieMap</a></code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericTrieTraverse" class="def">genericTrieTraverse</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f) => (a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b) <a href="src/Data-GenericTrie-Internal.html#genericTrieTraverse" class="link">Source</a> <a href="#v:genericTrieTraverse" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code><a href="Data-GenericTrie-Internal.html#v:trieTraverse">trieTraverse</a></code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericTrieShowsPrec" class="def">genericTrieShowsPrec</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a, GTrieKeyShow (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="src/Data-GenericTrie-Internal.html#genericTrieShowsPrec" class="link">Source</a> <a href="#v:genericTrieShowsPrec" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code><a href="Data-GenericTrie-Internal.html#v:trieShowsPrec">trieShowsPrec</a></code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericInsert" class="def">genericInsert</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#genericInsert" class="link">Source</a> <a href="#v:genericInsert" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code>insert</code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericLookup" class="def">genericLookup</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#genericLookup" class="link">Source</a> <a href="#v:genericLookup" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-OldList.html#v:lookup">lookup</a></code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericDelete" class="def">genericDelete</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#genericDelete" class="link">Source</a> <a href="#v:genericDelete" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code>delete</code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericMapMaybeWithKey" class="def">genericMapMaybeWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => (k -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b <a href="src/Data-GenericTrie-Internal.html#genericMapMaybeWithKey" class="link">Source</a> <a href="#v:genericMapMaybeWithKey" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code>mapMaybe</code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericSingleton" class="def">genericSingleton</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => k -> a -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#genericSingleton" class="link">Source</a> <a href="#v:genericSingleton" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code>singleton</code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericEmpty" class="def">genericEmpty</a> :: <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k => <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a <a href="src/Data-GenericTrie-Internal.html#genericEmpty" class="link">Source</a> <a href="#v:genericEmpty" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code>empty</code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericFoldWithKey" class="def">genericFoldWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k) => (k -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> r <a href="src/Data-GenericTrie-Internal.html#genericFoldWithKey" class="link">Source</a> <a href="#v:genericFoldWithKey" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code>foldWithKey</code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><a id="v:genericTraverseWithKey" class="def">genericTraverseWithKey</a> :: (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> k, <a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a> k ~ <a href="Data-GenericTrie-Internal.html#t:TrieRepDefault">TrieRepDefault</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> f) => (k -> a -> f b) -> <a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a -> f (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k b) <a href="src/Data-GenericTrie-Internal.html#genericTraverseWithKey" class="link">Source</a> <a href="#v:genericTraverseWithKey" class="selflink">#</a></p><div class="doc"><p>Generic implementation of <code>traverseWithKey</code>. This is the default implementation.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:TrieRepDefault" class="def">TrieRepDefault</a> k = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor-Compose.html#t:Compose">Compose</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> k)) <a href="src/Data-GenericTrie-Internal.html#TrieRepDefault" class="link">Source</a> <a href="#t:TrieRepDefault" class="selflink">#</a></p><div class="doc"><p>The default implementation of a <code><a href="Data-GenericTrie-Internal.html#t:TrieRep">TrieRep</a></code> is <code><a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a></code> wrapped in
a <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a></code>. This wrapping is due to the <code><a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a></code> being a non-empty
trie allowing all the of the "emptiness" to be represented at the
top level for any given generically implemented key.</p></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:GTrieKey" class="def">GTrieKey</a> f <span class="keyword">where</span> <a href="src/Data-GenericTrie-Internal.html#GTrieKey" class="link">Source</a> <a href="#t:GTrieKey" class="selflink">#</a></p><div class="doc"><p>TrieKey operations on Generic representations used to provide
the default implementations of tries.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Data-GenericTrie-Internal.html#v:gtrieLookup">gtrieLookup</a>, <a href="Data-GenericTrie-Internal.html#v:gtrieInsert">gtrieInsert</a>, <a href="Data-GenericTrie-Internal.html#v:gtrieSingleton">gtrieSingleton</a>, <a href="Data-GenericTrie-Internal.html#v:gtrieDelete">gtrieDelete</a>, <a href="Data-GenericTrie-Internal.html#v:gtrieMap">gtrieMap</a>, <a href="Data-GenericTrie-Internal.html#v:gtrieTraverse">gtrieTraverse</a>, <a href="Data-GenericTrie-Internal.html#v:gmapMaybeWithKey">gmapMaybeWithKey</a>, <a href="Data-GenericTrie-Internal.html#v:gfoldWithKey">gfoldWithKey</a>, <a href="Data-GenericTrie-Internal.html#v:gtraverseWithKey">gtraverseWithKey</a>, <a href="Data-GenericTrie-Internal.html#v:gmergeWithKey">gmergeWithKey</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:gtrieLookup" class="def">gtrieLookup</a> :: f p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieLookup" class="link">Source</a> <a href="#v:gtrieLookup" class="selflink">#</a></p><p class="src"><a id="v:gtrieInsert" class="def">gtrieInsert</a> :: f p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a <a href="src/Data-GenericTrie-Internal.html#gtrieInsert" class="link">Source</a> <a href="#v:gtrieInsert" class="selflink">#</a></p><p class="src"><a id="v:gtrieSingleton" class="def">gtrieSingleton</a> :: f p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a <a href="src/Data-GenericTrie-Internal.html#gtrieSingleton" class="link">Source</a> <a href="#v:gtrieSingleton" class="selflink">#</a></p><p class="src"><a id="v:gtrieDelete" class="def">gtrieDelete</a> :: f p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a) <a href="src/Data-GenericTrie-Internal.html#gtrieDelete" class="link">Source</a> <a href="#v:gtrieDelete" class="selflink">#</a></p><p class="src"><a id="v:gtrieMap" class="def">gtrieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f b <a href="src/Data-GenericTrie-Internal.html#gtrieMap" class="link">Source</a> <a href="#v:gtrieMap" class="selflink">#</a></p><p class="src"><a id="v:gtrieTraverse" class="def">gtrieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f b) <a href="src/Data-GenericTrie-Internal.html#gtrieTraverse" class="link">Source</a> <a href="#v:gtrieTraverse" class="selflink">#</a></p><p class="src"><a id="v:gmapMaybeWithKey" class="def">gmapMaybeWithKey</a> :: (f p -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f b) <a href="src/Data-GenericTrie-Internal.html#gmapMaybeWithKey" class="link">Source</a> <a href="#v:gmapMaybeWithKey" class="selflink">#</a></p><p class="src"><a id="v:gfoldWithKey" class="def">gfoldWithKey</a> :: (f p -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> r <a href="src/Data-GenericTrie-Internal.html#gfoldWithKey" class="link">Source</a> <a href="#v:gfoldWithKey" class="selflink">#</a></p><p class="src"><a id="v:gtraverseWithKey" class="def">gtraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (f p -> a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f b) <a href="src/Data-GenericTrie-Internal.html#gtraverseWithKey" class="link">Source</a> <a href="#v:gtraverseWithKey" class="selflink">#</a></p><p class="src"><a id="v:gmergeWithKey" class="def">gmergeWithKey</a> :: (f p -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f c)) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f c)) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f c) <a href="src/Data-GenericTrie-Internal.html#gmergeWithKey" class="link">Source</a> <a href="#v:gmergeWithKey" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:GTrieKey" class="caption collapser" onclick="toggleSection('i:GTrieKey')">Instances</p><div id="section.i:GTrieKey" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:GTrieKey:GTrieKey:1" class="instance expander" onclick="toggleSection('i:ic:GTrieKey:GTrieKey:1')"></span> <a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a></span> <a href="src/Data-GenericTrie-Internal.html#line-805" class="link">Source</a> <a href="#t:GTrieKey" class="selflink">#</a></td><td class="doc"><p>Tries of types without constructors are represented by a unit.</p></td></tr><tr><td colspan="2"><div id="section.i:ic:GTrieKey:GTrieKey:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gtrieLookup">gtrieLookup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieLookup" class="link">Source</a> <a href="#v:gtrieLookup" class="selflink">#</a></p><p class="src"><a href="#v:gtrieInsert">gtrieInsert</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieInsert" class="link">Source</a> <a href="#v:gtrieInsert" class="selflink">#</a></p><p class="src"><a href="#v:gtrieSingleton">gtrieSingleton</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieSingleton" class="link">Source</a> <a href="#v:gtrieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:gtrieDelete">gtrieDelete</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a) <a href="src/Data-GenericTrie-Internal.html#gtrieDelete" class="link">Source</a> <a href="#v:gtrieDelete" class="selflink">#</a></p><p class="src"><a href="#v:gtrieMap">gtrieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> b <a href="src/Data-GenericTrie-Internal.html#gtrieMap" class="link">Source</a> <a href="#v:gtrieMap" class="selflink">#</a></p><p class="src"><a href="#v:gtrieTraverse">gtrieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> b) <a href="src/Data-GenericTrie-Internal.html#gtrieTraverse" class="link">Source</a> <a href="#v:gtrieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:gmapMaybeWithKey">gmapMaybeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> p -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> b) <a href="src/Data-GenericTrie-Internal.html#gmapMaybeWithKey" class="link">Source</a> <a href="#v:gmapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gfoldWithKey">gfoldWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> p -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a -> r <a href="src/Data-GenericTrie-Internal.html#gfoldWithKey" class="link">Source</a> <a href="#v:gfoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gtraverseWithKey">gtraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> p -> a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> b) <a href="src/Data-GenericTrie-Internal.html#gtraverseWithKey" class="link">Source</a> <a href="#v:gtraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gmergeWithKey">gmergeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> p -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> c)) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> c)) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a> c) <a href="src/Data-GenericTrie-Internal.html#gmergeWithKey" class="link">Source</a> <a href="#v:gmergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:GTrieKey:GTrieKey:2" class="instance expander" onclick="toggleSection('i:ic:GTrieKey:GTrieKey:2')"></span> <a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a></span> <a href="src/Data-GenericTrie-Internal.html#line-775" class="link">Source</a> <a href="#t:GTrieKey" class="selflink">#</a></td><td class="doc"><p>Tries of constructors without fields are represented by a single value.</p></td></tr><tr><td colspan="2"><div id="section.i:ic:GTrieKey:GTrieKey:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gtrieLookup">gtrieLookup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieLookup" class="link">Source</a> <a href="#v:gtrieLookup" class="selflink">#</a></p><p class="src"><a href="#v:gtrieInsert">gtrieInsert</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieInsert" class="link">Source</a> <a href="#v:gtrieInsert" class="selflink">#</a></p><p class="src"><a href="#v:gtrieSingleton">gtrieSingleton</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieSingleton" class="link">Source</a> <a href="#v:gtrieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:gtrieDelete">gtrieDelete</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a) <a href="src/Data-GenericTrie-Internal.html#gtrieDelete" class="link">Source</a> <a href="#v:gtrieDelete" class="selflink">#</a></p><p class="src"><a href="#v:gtrieMap">gtrieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> b <a href="src/Data-GenericTrie-Internal.html#gtrieMap" class="link">Source</a> <a href="#v:gtrieMap" class="selflink">#</a></p><p class="src"><a href="#v:gtrieTraverse">gtrieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> b) <a href="src/Data-GenericTrie-Internal.html#gtrieTraverse" class="link">Source</a> <a href="#v:gtrieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:gmapMaybeWithKey">gmapMaybeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> p -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> b) <a href="src/Data-GenericTrie-Internal.html#gmapMaybeWithKey" class="link">Source</a> <a href="#v:gmapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gfoldWithKey">gfoldWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> p -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a -> r <a href="src/Data-GenericTrie-Internal.html#gfoldWithKey" class="link">Source</a> <a href="#v:gfoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gtraverseWithKey">gtraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> p -> a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> b) <a href="src/Data-GenericTrie-Internal.html#gtraverseWithKey" class="link">Source</a> <a href="#v:gtraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gmergeWithKey">gmergeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> p -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> c)) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> c)) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> c) <a href="src/Data-GenericTrie-Internal.html#gmergeWithKey" class="link">Source</a> <a href="#v:gmergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:GTrieKey:GTrieKey:3" class="instance expander" onclick="toggleSection('i:ic:GTrieKey:GTrieKey:3')"></span> <a href="Data-GenericTrie-Internal.html#t:TrieKey">TrieKey</a> k => <a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k)</span> <a href="src/Data-GenericTrie-Internal.html#line-566" class="link">Source</a> <a href="#t:GTrieKey" class="selflink">#</a></td><td class="doc"><p>Generic fields are represented by tries of the field type.</p></td></tr><tr><td colspan="2"><div id="section.i:ic:GTrieKey:GTrieKey:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gtrieLookup">gtrieLookup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieLookup" class="link">Source</a> <a href="#v:gtrieLookup" class="selflink">#</a></p><p class="src"><a href="#v:gtrieInsert">gtrieInsert</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a <a href="src/Data-GenericTrie-Internal.html#gtrieInsert" class="link">Source</a> <a href="#v:gtrieInsert" class="selflink">#</a></p><p class="src"><a href="#v:gtrieSingleton">gtrieSingleton</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a <a href="src/Data-GenericTrie-Internal.html#gtrieSingleton" class="link">Source</a> <a href="#v:gtrieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:gtrieDelete">gtrieDelete</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a) <a href="src/Data-GenericTrie-Internal.html#gtrieDelete" class="link">Source</a> <a href="#v:gtrieDelete" class="selflink">#</a></p><p class="src"><a href="#v:gtrieMap">gtrieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) b <a href="src/Data-GenericTrie-Internal.html#gtrieMap" class="link">Source</a> <a href="#v:gtrieMap" class="selflink">#</a></p><p class="src"><a href="#v:gtrieTraverse">gtrieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) b) <a href="src/Data-GenericTrie-Internal.html#gtrieTraverse" class="link">Source</a> <a href="#v:gtrieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:gmapMaybeWithKey">gmapMaybeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k p -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) b) <a href="src/Data-GenericTrie-Internal.html#gmapMaybeWithKey" class="link">Source</a> <a href="#v:gmapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gfoldWithKey">gfoldWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k p -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a -> r <a href="src/Data-GenericTrie-Internal.html#gfoldWithKey" class="link">Source</a> <a href="#v:gfoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gtraverseWithKey">gtraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k p -> a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) b) <a href="src/Data-GenericTrie-Internal.html#gtraverseWithKey" class="link">Source</a> <a href="#v:gtraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gmergeWithKey">gmergeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k p -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) c)) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) c)) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) c) <a href="src/Data-GenericTrie-Internal.html#gmergeWithKey" class="link">Source</a> <a href="#v:gmergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:GTrieKey:GTrieKey:4" class="instance expander" onclick="toggleSection('i:ic:GTrieKey:GTrieKey:4')"></span> (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> f, <a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> g) => <a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">(:+:)</a> f g)</span> <a href="src/Data-GenericTrie-Internal.html#line-660" class="link">Source</a> <a href="#t:GTrieKey" class="selflink">#</a></td><td class="doc"><p>Generic sums are represented by up to a pair of sub-tries.</p></td></tr><tr><td colspan="2"><div id="section.i:ic:GTrieKey:GTrieKey:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gtrieLookup">gtrieLookup</a> :: (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieLookup" class="link">Source</a> <a href="#v:gtrieLookup" class="selflink">#</a></p><p class="src"><a href="#v:gtrieInsert">gtrieInsert</a> :: (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a <a href="src/Data-GenericTrie-Internal.html#gtrieInsert" class="link">Source</a> <a href="#v:gtrieInsert" class="selflink">#</a></p><p class="src"><a href="#v:gtrieSingleton">gtrieSingleton</a> :: (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a <a href="src/Data-GenericTrie-Internal.html#gtrieSingleton" class="link">Source</a> <a href="#v:gtrieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:gtrieDelete">gtrieDelete</a> :: (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a) <a href="src/Data-GenericTrie-Internal.html#gtrieDelete" class="link">Source</a> <a href="#v:gtrieDelete" class="selflink">#</a></p><p class="src"><a href="#v:gtrieMap">gtrieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) b <a href="src/Data-GenericTrie-Internal.html#gtrieMap" class="link">Source</a> <a href="#v:gtrieMap" class="selflink">#</a></p><p class="src"><a href="#v:gtrieTraverse">gtrieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) b) <a href="src/Data-GenericTrie-Internal.html#gtrieTraverse" class="link">Source</a> <a href="#v:gtrieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:gmapMaybeWithKey">gmapMaybeWithKey</a> :: ((f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) p -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) b) <a href="src/Data-GenericTrie-Internal.html#gmapMaybeWithKey" class="link">Source</a> <a href="#v:gmapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gfoldWithKey">gfoldWithKey</a> :: ((f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) p -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a -> r <a href="src/Data-GenericTrie-Internal.html#gfoldWithKey" class="link">Source</a> <a href="#v:gfoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gtraverseWithKey">gtraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => ((f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) p -> a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) b) <a href="src/Data-GenericTrie-Internal.html#gtraverseWithKey" class="link">Source</a> <a href="#v:gtraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gmergeWithKey">gmergeWithKey</a> :: ((f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) p -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) c)) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) c)) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">:+:</a> g) c) <a href="src/Data-GenericTrie-Internal.html#gmergeWithKey" class="link">Source</a> <a href="#v:gmergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:GTrieKey:GTrieKey:5" class="instance expander" onclick="toggleSection('i:ic:GTrieKey:GTrieKey:5')"></span> (<a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> f, <a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> g) => <a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">(:*:)</a> f g)</span> <a href="src/Data-GenericTrie-Internal.html#line-603" class="link">Source</a> <a href="#t:GTrieKey" class="selflink">#</a></td><td class="doc"><p>Generic products are represented by tries of tries.</p></td></tr><tr><td colspan="2"><div id="section.i:ic:GTrieKey:GTrieKey:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gtrieLookup">gtrieLookup</a> :: (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieLookup" class="link">Source</a> <a href="#v:gtrieLookup" class="selflink">#</a></p><p class="src"><a href="#v:gtrieInsert">gtrieInsert</a> :: (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a <a href="src/Data-GenericTrie-Internal.html#gtrieInsert" class="link">Source</a> <a href="#v:gtrieInsert" class="selflink">#</a></p><p class="src"><a href="#v:gtrieSingleton">gtrieSingleton</a> :: (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a <a href="src/Data-GenericTrie-Internal.html#gtrieSingleton" class="link">Source</a> <a href="#v:gtrieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:gtrieDelete">gtrieDelete</a> :: (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a) <a href="src/Data-GenericTrie-Internal.html#gtrieDelete" class="link">Source</a> <a href="#v:gtrieDelete" class="selflink">#</a></p><p class="src"><a href="#v:gtrieMap">gtrieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) b <a href="src/Data-GenericTrie-Internal.html#gtrieMap" class="link">Source</a> <a href="#v:gtrieMap" class="selflink">#</a></p><p class="src"><a href="#v:gtrieTraverse">gtrieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) b) <a href="src/Data-GenericTrie-Internal.html#gtrieTraverse" class="link">Source</a> <a href="#v:gtrieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:gmapMaybeWithKey">gmapMaybeWithKey</a> :: ((f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) p -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) b) <a href="src/Data-GenericTrie-Internal.html#gmapMaybeWithKey" class="link">Source</a> <a href="#v:gmapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gfoldWithKey">gfoldWithKey</a> :: ((f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) p -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a -> r <a href="src/Data-GenericTrie-Internal.html#gfoldWithKey" class="link">Source</a> <a href="#v:gfoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gtraverseWithKey">gtraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => ((f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) p -> a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) b) <a href="src/Data-GenericTrie-Internal.html#gtraverseWithKey" class="link">Source</a> <a href="#v:gtraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gmergeWithKey">gmergeWithKey</a> :: ((f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) p -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) c)) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) c)) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (f <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">:*:</a> g) c) <a href="src/Data-GenericTrie-Internal.html#gmergeWithKey" class="link">Source</a> <a href="#v:gmergeWithKey" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:GTrieKey:GTrieKey:6" class="instance expander" onclick="toggleSection('i:ic:GTrieKey:GTrieKey:6')"></span> <a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> f => <a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f)</span> <a href="src/Data-GenericTrie-Internal.html#line-518" class="link">Source</a> <a href="#t:GTrieKey" class="selflink">#</a></td><td class="doc"><p>Generic metadata is skipped in trie representation and operations.</p></td></tr><tr><td colspan="2"><div id="section.i:ic:GTrieKey:GTrieKey:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gtrieLookup">gtrieLookup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a <a href="src/Data-GenericTrie-Internal.html#gtrieLookup" class="link">Source</a> <a href="#v:gtrieLookup" class="selflink">#</a></p><p class="src"><a href="#v:gtrieInsert">gtrieInsert</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a <a href="src/Data-GenericTrie-Internal.html#gtrieInsert" class="link">Source</a> <a href="#v:gtrieInsert" class="selflink">#</a></p><p class="src"><a href="#v:gtrieSingleton">gtrieSingleton</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f p -> a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a <a href="src/Data-GenericTrie-Internal.html#gtrieSingleton" class="link">Source</a> <a href="#v:gtrieSingleton" class="selflink">#</a></p><p class="src"><a href="#v:gtrieDelete">gtrieDelete</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f p -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a) <a href="src/Data-GenericTrie-Internal.html#gtrieDelete" class="link">Source</a> <a href="#v:gtrieDelete" class="selflink">#</a></p><p class="src"><a href="#v:gtrieMap">gtrieMap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) b <a href="src/Data-GenericTrie-Internal.html#gtrieMap" class="link">Source</a> <a href="#v:gtrieMap" class="selflink">#</a></p><p class="src"><a href="#v:gtrieTraverse">gtrieTraverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) b) <a href="src/Data-GenericTrie-Internal.html#gtrieTraverse" class="link">Source</a> <a href="#v:gtrieTraverse" class="selflink">#</a></p><p class="src"><a href="#v:gmapMaybeWithKey">gmapMaybeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f p -> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) b) <a href="src/Data-GenericTrie-Internal.html#gmapMaybeWithKey" class="link">Source</a> <a href="#v:gmapMaybeWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gfoldWithKey">gfoldWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f p -> a -> r -> r) -> r -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a -> r <a href="src/Data-GenericTrie-Internal.html#gfoldWithKey" class="link">Source</a> <a href="#v:gfoldWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gtraverseWithKey">gtraverseWithKey</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Applicative.html#t:Applicative">Applicative</a> m => (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f p -> a -> m b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a -> m (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) b) <a href="src/Data-GenericTrie-Internal.html#gtraverseWithKey" class="link">Source</a> <a href="#v:gtraverseWithKey" class="selflink">#</a></p><p class="src"><a href="#v:gmergeWithKey">gmergeWithKey</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f p -> a -> b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> c) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) c)) -> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) c)) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) b -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) c) <a href="src/Data-GenericTrie-Internal.html#gmergeWithKey" class="link">Source</a> <a href="#v:gmergeWithKey" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data family</span> <a id="t:GTrie" class="def">GTrie</a> (f :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a>) a <a href="src/Data-GenericTrie-Internal.html#GTrie" class="link">Source</a> <a href="#t:GTrie" class="selflink">#</a></p><div class="doc"><p>Mapping of generic representation of keys to trie structures.</p></div><div class="subs instances"><p id="control.i:GTrie" class="caption collapser" onclick="toggleSection('i:GTrie')">Instances</p><div id="section.i:GTrie" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:if:GTrie:Functor:1" class="instance expander" onclick="toggleSection('i:if:GTrie:Functor:1')"></span> <a href="Data-GenericTrie-Internal.html#t:GTrieKey">GTrieKey</a> f => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Functor.html#t:Functor">Functor</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f)</span> <a href="src/Data-GenericTrie-Internal.html#line-487" class="link">Source</a> <a href="#t:GTrie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:if:GTrie:Functor:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:fmap">fmap</a> :: (a -> b) -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f b <a href="#v:fmap" class="selflink">#</a></p><p class="src"><a href="#v:-60--36-">(<$)</a> :: a -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f b -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a <a href="#v:-60--36-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:if:GTrie:Show:2" class="instance expander" onclick="toggleSection('i:if:GTrie:Show:2')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a, GTrieKeyShow f) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a)</span> <a href="src/Data-GenericTrie-Internal.html#line-838" class="link">Source</a> <a href="#t:GTrie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:if:GTrie:Show:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:if:GTrie:GTrie:3" class="instance expander" onclick="toggleSection('i:if:GTrie:GTrie:3')"></span> <span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a></span> <a href="src/Data-GenericTrie-Internal.html#line-485" class="link">Source</a> <a href="#t:GTrie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:if:GTrie:GTrie:3" class="inst-details hide"><div class="src"><span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:V1">V1</a></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:if:GTrie:GTrie:4" class="instance expander" onclick="toggleSection('i:if:GTrie:GTrie:4')"></span> <span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a></span> <a href="src/Data-GenericTrie-Internal.html#line-484" class="link">Source</a> <a href="#t:GTrie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:if:GTrie:GTrie:4" class="inst-details hide"><div class="src"><span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:U1">U1</a> = <a id="v:UTrie" class="def">UTrie</a> a</div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:if:GTrie:GTrie:5" class="instance expander" onclick="toggleSection('i:if:GTrie:GTrie:5')"></span> <span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k)</span> <a href="src/Data-GenericTrie-Internal.html#line-483" class="link">Source</a> <a href="#t:GTrie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:if:GTrie:GTrie:5" class="inst-details hide"><div class="src"><span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:K1">K1</a> i k) = <a id="v:KTrie" class="def">KTrie</a> (<a href="Data-GenericTrie-Internal.html#t:Trie">Trie</a> k a)</div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:if:GTrie:GTrie:6" class="instance expander" onclick="toggleSection('i:if:GTrie:GTrie:6')"></span> <span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">(:+:)</a> f g)</span> <a href="src/Data-GenericTrie-Internal.html#line-480" class="link">Source</a> <a href="#t:GTrie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:if:GTrie:GTrie:6" class="inst-details hide"><div class="src"><span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-43-:">(:+:)</a> f g) <ul class="inst"><li class="inst">= <a id="v:STrieL" class="def">STrieL</a> !(<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a)</li><li class="inst">| <a id="v:STrieR" class="def">STrieR</a> !(<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> g a)</li><li class="inst">| <a id="v:STrieB" class="def">STrieB</a> !(<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a) !(<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> g a)</li></ul></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:if:GTrie:GTrie:7" class="instance expander" onclick="toggleSection('i:if:GTrie:GTrie:7')"></span> <span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">(:*:)</a> f g)</span> <a href="src/Data-GenericTrie-Internal.html#line-482" class="link">Source</a> <a href="#t:GTrie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:if:GTrie:GTrie:7" class="inst-details hide"><div class="src"><span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t::-42-:">(:*:)</a> f g) = <a id="v:PTrie" class="def">PTrie</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> g a))</div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:if:GTrie:GTrie:8" class="instance expander" onclick="toggleSection('i:if:GTrie:GTrie:8')"></span> <span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f)</span> <a href="src/Data-GenericTrie-Internal.html#line-479" class="link">Source</a> <a href="#t:GTrie" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:if:GTrie:GTrie:8" class="inst-details hide"><div class="src"><span class="keyword">data</span> <a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:M1">M1</a> i c f) = <a id="v:MTrie" class="def">MTrie</a> (<a href="Data-GenericTrie-Internal.html#t:GTrie">GTrie</a> f a)</div></div></td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|