License | GPL2 |
---|---|
Maintainer | [email protected] |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
Data.DynamicState
Description
This module implements a simple HashMap ConcreteTypeRep Dynamic
- newtype DynamicState = DynamicState {}
- getDyn :: forall a. Typeable a => DynamicState -> Maybe a
- setDyn :: forall a. Typeable a => DynamicState -> a -> DynamicState
- _dyn :: (Typeable a, Functor f) => a -> (a -> f a) -> DynamicState -> f DynamicState
Documentation
newtype DynamicState Source
An extensible record, indexed by type
Constructors
DynamicState | |
Fields |
Instances
getDyn :: forall a. Typeable a => DynamicState -> Maybe a Source
setDyn :: forall a. Typeable a => DynamicState -> a -> DynamicState Source
_dyn :: (Typeable a, Functor f) => a -> (a -> f a) -> DynamicState -> f DynamicState Source
Lens with default value