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

Package0.2.2.0Control

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 · 0

Nothing in this set depends on it.