| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Test.IOTasks.Internal.OutputPattern
Synopsis
- data PatternKind
- data OutputPattern (k :: PatternKind) where
- Wildcard :: OutputPattern k
- Text :: String -> OutputPattern k
- Sequence :: OutputPattern k -> OutputPattern k -> OutputPattern k
- ResultOf :: forall (tk :: TermKind) a. (Typeable a, Show a) => Term tk a -> OutputPattern 'SpecificationP
- convert :: OutputPattern k -> OutputPattern 'SpecificationP
- wildcard :: OutputPattern k
- text :: String -> OutputPattern k
- resultOf :: (Typeable a, Show a) => Term tk a -> OutputPattern 'SpecificationP
- valueTerms :: OutputPattern k -> [SomeTermK]
- showPattern :: OutputPattern k -> String
- showPatternSimple :: OutputPattern k -> String
- evalPattern :: ValueMap -> OutputPattern k -> (OverflowWarning, OutputPattern 'TraceP)
- type AddLinebreaks = Bool
- evalPatternSet :: ValueMap -> Set (OutputPattern k) -> (OverflowWarning, Set (OutputPattern 'TraceP))
- evalPatternSet' :: AddLinebreaks -> ValueMap -> Set (OutputPattern k) -> (OverflowWarning, Set (OutputPattern 'TraceP))
- (>:) :: OutputPattern 'TraceP -> OutputPattern 'TraceP -> Bool
Documentation
data PatternKind Source #
Constructors
| SpecificationP | |
| TraceP |
data OutputPattern (k :: PatternKind) where Source #
Constructors
| Wildcard :: OutputPattern k | |
| Text :: String -> OutputPattern k | |
| Sequence :: OutputPattern k -> OutputPattern k -> OutputPattern k | |
| ResultOf :: forall (tk :: TermKind) a. (Typeable a, Show a) => Term tk a -> OutputPattern 'SpecificationP |
Instances
convert :: OutputPattern k -> OutputPattern 'SpecificationP Source #
wildcard :: OutputPattern k Source #
text :: String -> OutputPattern k Source #
resultOf :: (Typeable a, Show a) => Term tk a -> OutputPattern 'SpecificationP Source #
valueTerms :: OutputPattern k -> [SomeTermK] Source #
showPattern :: OutputPattern k -> String Source #
showPatternSimple :: OutputPattern k -> String Source #
evalPattern :: ValueMap -> OutputPattern k -> (OverflowWarning, OutputPattern 'TraceP) Source #
type AddLinebreaks = Bool Source #
evalPatternSet :: ValueMap -> Set (OutputPattern k) -> (OverflowWarning, Set (OutputPattern 'TraceP)) Source #
evalPatternSet' :: AddLinebreaks -> ValueMap -> Set (OutputPattern k) -> (OverflowWarning, Set (OutputPattern 'TraceP)) Source #
(>:) :: OutputPattern 'TraceP -> OutputPattern 'TraceP -> Bool Source #
coverage relation on patterns