Safe Haskell | None |
---|
Documentation
emptyValueMap :: [SomeVar] -> ValueMap Source #
sortedEntries :: Typeable a => [Var a] -> ValueMap -> ValueEntry Source #
varnameTypeRep :: [Varname] -> ValueMap -> Maybe SomeTypeRep Source #
varnameVarList :: [Varname] -> ValueMap -> Maybe SomeConsistentVars Source #
IntegerValue Integer | |
BoolValue Bool | |
StringValue String |
unwrapValue :: Var a -> Value -> a Source #
data ValueEntry Source #
NoEntry | |
IntegerEntry [(Integer, Int)] | |
BoolEntry [(Bool, Int)] | |
StringEntry [(String, Int)] |
Instances
Show ValueEntry Source # | |
Defined in Test.IOTasks.ValueMap showsPrec :: Int -> ValueEntry -> ShowS show :: ValueEntry -> String showList :: [ValueEntry] -> ShowS | |
Eq ValueEntry Source # | |
Defined in Test.IOTasks.ValueMap (==) :: ValueEntry -> ValueEntry -> Bool (/=) :: ValueEntry -> ValueEntry -> Bool |
withValueEntry :: ValueEntry -> r -> (forall a. (Typeable a, Show a) => [(a, Int)] -> r) -> r Source #
unwrapValueEntry :: Var a -> ValueEntry -> [(a, Int)] Source #
lookupInteger :: SomeVar -> ValueMap -> Maybe [(Integer, Int)] Source #
lookupBool :: SomeVar -> ValueMap -> Maybe [(Bool, Int)] Source #
lookupString :: SomeVar -> ValueMap -> Maybe [(String, Int)] Source #