HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulererebase-1.21.2Haskell2010

Data.Vector.Mutable

  • 4 types
  • 1 class
  • 68 values
  • Packagererebase-1.21.2
  • Exports74
  • LanguageHaskell2010
  • LicenceMIT
  • SourcePrimitive.hs
datadata RealWorld
#

RealWorld is deeply magical. It is primitive, but it is not unlifted (hence ptrArg). We never manipulate values of type RealWorld; it's only used in the type system, to parameterise State#.

classclass Monad m => PrimMonad (m :: Type -> Type) where
#

Class of monads which can perform primitive state-transformer actions.

Associated types

Instances18PrimMonad, …
familytype family PrimState (m :: Type -> Type)
#

State token type.

Instances18PrimState, …