HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulegrapesy-1.1.1Haskell2010

Network.GRPC.Common.NextElem

Elements in a stream (without metadata)

Intended for qualified import.

import Network.GRPC.Common.NextElem qualified as NextElem

Network.GRPC.Common (intended for unqualified import) exports NextElem(..), but none of the operations on NextElem.

  • 5 values
  • Packagegrapesy-1.1.1
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceNextElem.hs

Conversion

1 declaration

Iteration

4 declarations
valuemapM_ :: Monad m => (NextElem a -> m ()) -> [a] -> m ()
#

Invoke the callback for each element, and then once more with NoNextElem

   mapM_ f [1,2,3]
== do f (NextElem 1)
      f (NextElem 2)
      f (NextElem 3)
      f NoNextElem