Hoogle Search
Within LTS Haskell 24.31 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
getGLContextSharedContext :: (MonadIO m, IsGLContext o) => o -> m (Maybe GLContext)gi-gdk4 GI.Gdk.Objects.GLContext Get the value of the “shared-context” property. When overloading is enabled, this is equivalent to
get gLContext #sharedContext
filterPingShare :: IO ExitCodesynthesizer-core Synthesizer.Generic.Tutorial You can achieve sharing by a very simple way. You can write the result of the signal generator in a list (toList) and use this list as source for a new generator (fromList). fromList provides a signal generator that generates new sample values by delivering the next sample from the list. In a real world implementation you would move the Sig.fromList . Sig.toList to filterPingStateProc, since the caller cannot know, that this function uses the signal twice, and the implementor of filterPingStateProc cannot know, how expensive the computation of env is. You can use any other signal type for sharing, e.g. storable vectors, but whatever type you choose, you also get its disadvantages. Namely, storable vectors only work for storable samples and lists are generally slow, and they also cannot be optimized away, since this only works, when no sharing is required. Whenever a signal is shared as input between several signal processes, the actual materialized data is that between the slowest and the fastest reading process. This is due to lazy evaluation and garbage collection. If the different readers read with different speed, then you will certainly need a temporary sample storage.
sectionGhcSharedOptions :: Section a -> [GhcOption]hpack Hpack.Config No documentation available.
getOrParseSharedStringss :: XlsxM (Vector Text)xlsx Codec.Xlsx.Parser.Stream No documentation available.
_wsSharedFormulas :: Worksheet -> Map SharedFormulaIndex SharedFormulaOptionsxlsx Codec.Xlsx.Types No documentation available.
wsSharedFormulas :: Lens' Worksheet (Map SharedFormulaIndex SharedFormulaOptions)xlsx Codec.Xlsx.Types No documentation available.
applySharedFormulaOpts :: SharedFormulaOptions -> Element -> Elementxlsx Codec.Xlsx.Types.Cell No documentation available.
_arserShared :: AreaSeries -> Seriesxlsx Codec.Xlsx.Types.Drawing.Chart No documentation available.
_brserShared :: BarSeries -> Seriesxlsx Codec.Xlsx.Types.Drawing.Chart No documentation available.
_lnserShared :: LineSeries -> Seriesxlsx Codec.Xlsx.Types.Drawing.Chart No documentation available.