Module Data.Functor.Const

This simple module defines the const functor known from Haskell's base libraries. It defines a wrapper around a constant value that "ignores" functions mapped over it.

Summary of exported operations:

Exported datatypes:


newtype Const

Constructor:

  • Const :: a -> Const a b

    Fields:

    • getConst :: a

Exported operations: