HORIZON HASKELLDocslts/ghc-9.14.x6d5fdfd2026-10-12Search packagesCtrl K
Theme: |

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

Package0.2.2.1Control

newtype

A typeclass and set of functions for working with newtypes.

  • Version0.2.2.1
  • CategoryControl
  • LicenceBSD-3-Clause
  • AuthorHerbert Valerio Riedel, Darius Jahandarie, Conor McBride
  • MaintainerAndreas Abel
  • Pinned byhackage newtype 0.2.2.1
  • Sourcenewtype-0.2.2.1 on Hackage

Modules

  • Control.NewtypeSPDX-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