HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulevector-0.13.2.0

Data.Vector.Strict.Mutable

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

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

Associated types

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