HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Package0.2.2.1Control

newtype

A typeclass and set of functions for working with newtypes.

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