Source codeContentsIndex
Registry
data Registry from to
type UntypedRegistry from = Untyped Registry from
data LockedRegistry from to
type UntypedLockedRegistry from = Untyped LockedRegistry from
data Untyped registry from
class NewRegistry registry where
Methods
newRegistry :: IO registry
emptyRegistry :: registry -> IO ()
Instances
(Ord from) => NewRegistry (Registry from to)
(NewRegistry (registry from Dyn)) => NewRegistry (Untyped registry from)
(NewRegistry (registry from Obj)) => NewRegistry (Unsafe registry from)
(Ord from) => NewRegistry (LockedRegistry from to)
class GetSetRegistry registry from to where
Methods
transformValue :: registry -> from -> (Maybe to -> IO (Maybe to, extra)) -> IO extra
getValueOpt :: registry -> from -> IO (Maybe to)
getValue :: registry -> from -> IO to
setValue :: registry -> from -> to -> IO ()
Instances
(Ord from) => GetSetRegistry (Registry from to) from to
(Typeable to, GetSetRegistry (registry from Dyn) from Dyn) => GetSetRegistry (Untyped registry from) from to
(GetSetRegistry (registry from Obj) from Obj) => GetSetRegistry (Unsafe registry from) from to
(Ord from) => GetSetRegistry (LockedRegistry from to) from to
class GetSetRegistryDyn registry from where
Methods
setValueAsDyn :: registry -> from -> Dyn -> IO ()
getValueAsDyn :: registry -> from -> IO Dyn
Instances
(GetSetRegistry (registry from Dyn) from Dyn) => GetSetRegistryDyn (Untyped registry from) from
class KeyOpsRegistry registry from where
Methods
deleteFromRegistryBool :: registry -> from -> IO Bool
deleteFromRegistry :: registry -> from -> IO ()
listKeys :: registry -> IO [from]
Instances
(Ord from) => KeyOpsRegistry (Registry from to) from
(KeyOpsRegistry (registry from Dyn) from) => KeyOpsRegistry (Untyped registry from) from
(KeyOpsRegistry (registry from Obj) from) => KeyOpsRegistry (Unsafe registry from) from
(Ord from) => KeyOpsRegistry (LockedRegistry from to) from
listRegistryContents :: (Ord from) => Registry from to -> IO [(from, to)]
listToNewRegistry :: (Ord from) => [(from, to)] -> IO (Registry from to)
getRegistryValue :: (Ord from) => Registry from to -> from -> IO to
class GetSetRegistryDyn registry from where
Methods
setValueAsDyn :: registry -> from -> Dyn -> IO ()
getValueAsDyn :: registry -> from -> IO Dyn
class GetSetRegistryDyn registry from where
Methods
setValueAsDyn :: registry -> from -> Dyn -> IO ()
getValueAsDyn :: registry -> from -> IO Dyn
getValueDefault :: (GetSetRegistry registry from to) => to -> registry -> from -> IO to
data Unsafe registry from
type UnsafeRegistry from = Unsafe Registry from
Produced by Haddock version 0.3