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

Package0.2.2.1Control

newtype

A typeclass and set of functions for working with newtypes.

Modules

1 module
  • Control.Newtype8SPDX-License-Identifier : BSD-3-Clause The Newtype typeclass and related functions: op, ala, ala', under. Primarly pulled from Conor McBr…

Description

Per Conor McBride, the Newtype typeclass represents the packing and unpacking of a newtype, and allows you to operate under that newtype with functions such as ala. See Control.Newtype for documentation and examples.

Depends on

1 package

Used by in this set · 1