HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleeffectful-2.7.1.0GHC2021

Effectful.Console.ByteString

Lifted functions from Data.ByteString.Char8 that are related to standard streams. Like the original module, you probably want to import this module qualified to avoid name clashes with the functions provided by Prelude, e.g.:

import Data.ByteString (ByteString)
import Data.ByteString.Char8 qualified as BS8
import Effectful.Console.ByteString (Console)
import Effectful.Console.ByteString qualified as Console
  • 1 type
  • 6 values
  • Packageeffectful-2.7.1.0
  • Exports7
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceByteString.hs

Effect

1 declaration
datadata Console (a :: Type -> Type) b
#

An effect for reading from/writing to System.IO.stdin, System.IO.stdout or System.IO.stderr.

Instances2DispatchOf, StaticRep

Handlers

Operations

5 declarations