cast-0.1.0.2: Abstact cast pattern

Safe HaskellSafe
LanguageHaskell2010

Pattern.Cast

Synopsis

Documentation

class Cast a b where Source #

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

Minimal complete definition

cast

Methods

cast :: a -> b Source #

Instances

Cast a a Source # 

Methods

cast :: a -> a Source #