Stability | experimental |
---|---|
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Safe Haskell | None |
Tested with: GHC 7.6.3
It represents an optimized source of data to construct the list.
- data ListSource a
- providerToDoubleListSource :: SeriesProvider -> Maybe (ListSource Double)
- providerToIntListSource :: SeriesProvider -> Maybe (ListSource Int)
- data ListData a
- listSourceData :: ListSource a -> Event (ListData a)
- listDataList :: ListData a -> [a]
- data ListRef a
- newListRef :: IO (ListRef a)
- addDataToListRef :: ListRef a -> ListData a -> IO ()
- readListRef :: ListRef a -> IO [a]
Documentation
data ListSource a Source
Represents the optimized source of data for constructing the list.
providerToDoubleListSource :: SeriesProvider -> Maybe (ListSource Double)Source
Try to return the source of list data by the specified provider.
providerToIntListSource :: SeriesProvider -> Maybe (ListSource Int)Source
Try to return the source of list data by the specified provider.
listSourceData :: ListSource a -> Event (ListData a)Source
Get data from the source in the current time point.
listDataList :: ListData a -> [a]Source
Return the list of values contained in the specified data.
newListRef :: IO (ListRef a)Source
Create a new list reference.
addDataToListRef :: ListRef a -> ListData a -> IO ()Source
Add data to the list reference.
readListRef :: ListRef a -> IO [a]Source
Read the list contained in the reference.