| Copyright | (c) 2015 Athan Clark |
|---|---|
| License | BSD-3 |
| Maintainer | athan.clark@gmail.com |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Trie.Pred.Base.Step
Description
- data PredStep k c s a = forall r . Typeable r => PredStep {}
- singletonPred :: (Monoid (c s (r -> a)), Typeable r) => k -> (s -> Maybe r) -> (r -> a) -> PredStep k c s a
- newtype PredSteps k c s a = PredSteps {
- unPredSteps :: [PredStep k c s a]
- unionPred :: Eq k => PredSteps k c s a -> PredSteps k c s a -> PredSteps k c s a
Single Predicated Step
Constructors
| forall r . Typeable r => PredStep | |
Fields
| |
singletonPred :: (Monoid (c s (r -> a)), Typeable r) => k -> (s -> Maybe r) -> (r -> a) -> PredStep k c s a Source
Adjacent Predicated Steps
newtype PredSteps k c s a Source
Adjacent steps
Constructors
| PredSteps | |
Fields
| |