HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

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

Package0.3Data

data-elevator

Coerce between unlifted boxed and lifted types.

Modules

2 modules
  • Data.Elevator8Near zero-cost coercions between lifted and boxed unlifted types. Turn any lifted type into an unlifted boxed type with Strict, eagerly
Internal modules · 1

Description

Near zero-cost coercions between unlifted boxed and lifted types. There are 3 main ingredients to this library: (1) a newtype Strict :: LiftedType -> UnliftedType, (2) a newtype Lazy :: UnliftedType -> LiftedType, and (3) a coercion function levCoerce to coerce existing functions into accepting Strict wrapper.

Depends on

1 package

Used by in this set · 0

Nothing in this set depends on it.