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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Modulevortex-console-0.1.3GHC2021

Vortex.Console

A console session over a vortex socket, as a pure state machine: what the user typed, what was sent, what came back. Every front end (a browser component, a terminal, a game overlay) feeds it Events and performs the Outs; nothing here knows how frames travel.

Synopsis
datadata Kind

What a line of the transcript is.

Constructors

  • Block

    A block the user ran.

  • Said

    Something the block said on the way.

  • Result

    The block's value.

  • Failed

    The block's refusal or failure, or a transport problem.

Instances2Eq, Show
  • Eq KindDefined in vortex-console-0.1.3 · Vortex.Console
  • Show KindDefined in vortex-console-0.1.3 · Vortex.Console
datadata Event
#

Constructors

Instances2Eq, Show
  • Eq EventDefined in vortex-console-0.1.3 · Vortex.Console
  • Show EventDefined in vortex-console-0.1.3 · Vortex.Console
newtypenewtype Out

What the front end must do after a step.

Constructors

Instances2Eq, Show
  • Eq OutDefined in vortex-console-0.1.3 · Vortex.Console
  • Show OutDefined in vortex-console-0.1.3 · Vortex.Console