HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulevector-0.13.2.0

Data.Vector.Generic.Mutable

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

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

Associated types

Instances18PrimMonad, …
classclass MVector (v :: Type -> Type -> Type) a where
#

Methods

Instances46MVector, …
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#.