reflex-dynamic-containers-0.1.0.0: various dynamic containers for Reflex

Copyright(C) 2020 Peter Lu
Licensesee the file LICENSE
Maintainerpdlla <chippermonky@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Reflex.Data.Sequence

Description

A dynamic seq which are a set of input and output events that wrap an internal 'Dynamic (Seq a)'.

Synopsis

Documentation

data DynamicSeq t a Source #

Constructors

DynamicSeq 

Fields

data DynamicSeqConfig t a Source #

The interface only supports adding and removing several consecutive elements. Use with 'singleton x' to add single elements.

Constructors

DynamicSeqConfig 

Fields

dynamicSeq_attachEndPos :: Reflex t => DynamicSeq t a -> Event t b -> Event t (Int, b) Source #

use for inserting at end of seq

holdDynamicSeq :: forall t m a. (Reflex t, MonadHold t m, MonadFix m) => Seq a -> DynamicSeqConfig t a -> m (DynamicSeq t a) Source #

create a dynamic list