Copyright | (C) 2020 Peter Lu |
---|---|
License | see the file LICENSE |
Maintainer | pdlla <chippermonky@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
This is the same as List
but with a
limited interface.
Synopsis
- data DynamicStack t a = DynamicStack {
- _dynamicStack_pushed :: Event t a
- _dynamicStack_popped :: Event t a
- _dynamicStack_contents :: Dynamic t [a]
- data DynamicStackConfig t a = DynamicStackConfig {
- _dynamicStackConfig_push :: Event t a
- _dynamicStackConfig_pop :: Event t ()
- _dynamicStackConfig_clear :: Event t ()
- defaultDynamicStackConfig :: Reflex t => DynamicStackConfig t a
- holdDynamicStack :: forall t m a. (Reflex t, MonadHold t m, MonadFix m) => [a] -> DynamicStackConfig t a -> m (DynamicStack t a)
Documentation
data DynamicStack t a Source #
DynamicStack | |
|
data DynamicStackConfig t a Source #
DynamicStackConfig | |
|
defaultDynamicStackConfig :: Reflex t => DynamicStackConfig t a Source #
holdDynamicStack :: forall t m a. (Reflex t, MonadHold t m, MonadFix m) => [a] -> DynamicStackConfig t a -> m (DynamicStack t a) Source #
create a dynamic list