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

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

Moduleghci-9.14.1Haskell2010

GHCi.RemoteTypes

Types for referring to remote objects in Remote GHCi. For more details, see Note [External GHCi pointers] in compilerGHCRuntime/Interpreter.hs

For details on Remote GHCi, see Note [Remote GHCi] in compilerGHCRuntime/Interpreter.hs.

Contents
  1. Remote pointer
  2. RemoteRef: reference to some heap object (potentially remote)
  3. ForeignRef: RemoteRef with a finalizer
  4. HValue
Synopsis
  • Packageghci-9.14.1
  • Exports18
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceRemoteTypes.hs

Remote pointer

RemoteRef: reference to some heap object (potentially remote)

newtypenewtype RemoteRef a

A reference to a heap object. Potentially in a remote heap! These are allocated and freed explicitly.

Constructors

Instances2Show, Binary
valuelocalRef :: RemoteRef a -> IO a

Convert a RemoteRef to its carried type. Should only be used if the RemoteRef originated in this process.

ForeignRef: RemoteRef with a finalizer

HValue