HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Package1.1.0.0IO

with-utf8

Get your IO right on the first try

Modules

5 modules
  • Data.Text.IO.Utf82Data.Text.IO for the modern world. Wrappers around simple file reading/writing functions from the
  • Data.Text.Lazy.IO.Utf82Data.Text.Lazy.IO for the modern world. Wrappers around simple file reading/writing functions from the
  • Main.Utf82Functions in this module will help you make your executable work
  • System.IO.Utf86Standard IO functions assume that the character encoding of the data
Internal modules · 1

Description

This minimalistic library helps you navigate the world of text encodings avoiding invalid argument (invalid byte sequence) and invalid argument (invalid character) in runtime.

See this blog post for why this library exists and what exactly it does.

The two most important modules are:

Main.Utf8 System.IO.Utf8

Depends on

3 packages

Used by in this set · 0

Nothing in this set depends on it.