dynamic-state-0.3.2: Optionally serializable dynamic state keyed by type
LicenseGPL2
Maintainer[email protected]
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010
Extensions
  • Cpp
  • ScopedTypeVariables
  • DeriveDataTypeable
  • ExplicitForAll

Data.DynamicState

Description

This module implements a simple HashMap ConcreteTypeRep Dynamic

Synopsis

Documentation

newtype DynamicState Source #

An extensible record, indexed by type

_dyn :: (Typeable a, Functor f) => a -> (a -> f a) -> DynamicState -> f DynamicState Source #

Lens with default value