wiring-0.4.2: Wiring, promotion and demotion of types.

Safe HaskellNone
LanguageHaskell2010

Control.Monad.Wiring

Documentation

class Wirable a b where Source

Methods

wire :: a -> b Source

Unambiguous conversion from a to b.

Instances

Wirable a () Source

Unit can be obtained from anything.

Wirable a a Source

The "identity" Wirable instance.