pred-trie-0.5.1.1: Predicative tries

Safe HaskellNone
LanguageHaskell2010

Data.Trie.Pred.Mutable

Contents

Synopsis

Tail

data PredStep s k r Source #

Constructors

Typeable a => PredStep 

Fields

data RawValue s k a Source #

Constructors

RawValue 

Fields

data HashTableTrie s k a Source #

Constructors

HashTableTrie 

Fields

new :: ST s (HashTableTrie s k a) Source #

insert :: (Eq k, Hashable k) => NonEmpty k -> a -> HashTableTrie s k a -> ST s (HashTableTrie s k a) Source #

lookup :: (Eq k, Hashable k, Typeable s, Typeable k) => PredSet s k -> NonEmpty k -> HashTableTrie s k a -> ST s (Maybe a) Source #

match :: (Eq k, Hashable k, Typeable s, Typeable k) => PredSet s k -> NonEmpty k -> HashTableTrie s k a -> ST s (Maybe (NonEmpty k, a, [k])) Source #

matches :: (Eq k, Hashable k, Typeable s, Typeable k) => PredSet s k -> NonEmpty k -> HashTableTrie s k a -> ST s [(NonEmpty k, a, [k])] Source #

Rooted

data RootedHashTableTrie s k a Source #

Constructors

RootedHashTableTrie 

Fields

lookupR :: (Eq k, Hashable k, Typeable s, Typeable k, Typeable a) => [k] -> RootedHashTableTrie s k a -> ST s (Maybe a) Source #

matchR :: (Eq k, Hashable k, Typeable s, Typeable k, Typeable a) => [k] -> RootedHashTableTrie s k a -> ST s (Maybe ([k], a, [k])) Source #

matchesR :: (Eq k, Hashable k, Typeable s, Typeable k, Typeable a) => [k] -> RootedHashTableTrie s k a -> ST s [([k], a, [k])] Source #