Hoogle Search
Within LTS Haskell 22.21 (ghc-9.6.5)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
getState :: BufferCodec from to state -> IO statebase GHC.IO.Encoding Return the current state of the codec. Many codecs are not stateful, and in these case the state can be represented as (). Other codecs maintain a state. For example, UTF-16 recognises a BOM (byte-order-mark) character at the beginning of the input, and remembers thereafter whether to use big-endian or little-endian mode. In this case, the state of the codec would include two pieces of information: whether we are at the beginning of the stream (the BOM only occurs at the beginning), and if not, whether to use the big or little-endian encoding.
getState :: BufferCodec from to state -> IO statebase GHC.IO.Encoding.Types Return the current state of the codec. Many codecs are not stateful, and in these case the state can be represented as (). Other codecs maintain a state. For example, UTF-16 recognises a BOM (byte-order-mark) character at the beginning of the input, and remembers thereafter whether to use big-endian or little-endian mode. In this case, the state of the codec would include two pieces of information: whether we are at the beginning of the stream (the BOM only occurs at the beginning), and if not, whether to use the big or little-endian encoding.
getState :: BufferCodec from to state -> IO statebase GHC.IO.Handle.Types Return the current state of the codec. Many codecs are not stateful, and in these case the state can be represented as (). Other codecs maintain a state. For example, UTF-16 recognises a BOM (byte-order-mark) character at the beginning of the input, and remembers thereafter whether to use big-endian or little-endian mode. In this case, the state of the codec would include two pieces of information: whether we are at the beginning of the stream (the BOM only occurs at the beginning), and if not, whether to use the big or little-endian encoding.
getState :: Monad m => ParsecT s u m uparsec Text.Parsec Returns the current user state.
getState :: Monad m => ParsecT s u m uparsec Text.Parsec.Prim Returns the current user state.
getState :: Monad m => ParsecT s u m uparsec Text.ParserCombinators.Parsec.Prim Returns the current user state.
-
ghc GHC.StgToCmm.Monad No documentation available.
getState :: ArrowState s a => a b shxt Control.Arrow.ArrowState read the complete state, ignore arrow input definition: getState = accessState (\ s x -> s)
getState :: forall (m :: Type -> Type) s u . Monad m => ParsecT s u m upandoc Text.Pandoc.Parsing Returns the current user state.
-
hspec-wai Test.Hspec.Wai No documentation available.
Page 1 of many | Next