cast-0.1.0.2: Abstact cast pattern

Safe HaskellSafe
LanguageHaskell2010

Pattern.Cast

Synopsis

Documentation

class Cast a b where #

The Cast describes values that can be converted from one type to another

Methods

cast :: a -> b #

Instances
Cast a a # 
Instance details

Defined in Pattern.Cast

Methods

cast :: a -> a #