Module
Grain.Class.KGProxy
- Package
- purescript-grain
- Repository
- purescript-grain/purescript-grain
#GrainKey Source
class GrainKey a where
Representation of key type for keyed global state.
This class's instances can be key for keyed global state.
Members
stringifyKey :: a -> String
Instances
#KeyedGlobalGrain Source
class (GrainKey k) <= KeyedGlobalGrain k a | a -> k where
Representation of a partial state of application state.
You can use this to define global state with key for dynamic items.
The first parameter is a type of key for each item, and the second parameter is a type of item.
TypeRef
is used as state key internally for uniqueness.
Members
- Modules
- Grain
- Grain.
Class - Grain.
Class. GProxy - Grain.
Class. KGProxy - Grain.
Class. LProxy - Grain.
Internal. Diff - Grain.
Internal. Element - Grain.
Internal. Emitter - Grain.
Internal. Handler - Grain.
Internal. MArray - Grain.
Internal. MMap - Grain.
Internal. MObject - Grain.
Internal. Prop - Grain.
Internal. PropDiff - Grain.
Internal. Ref - Grain.
Internal. SpecialProp - Grain.
Internal. Store - Grain.
Internal. Styler - Grain.
Internal. Util - Grain.
Markup - Grain.
Markup. Element - Grain.
Markup. Handler - Grain.
Markup. Prop - Grain.
TypeRef - Grain.
UI