cast-0.1.0.2: Abstact cast pattern

Safe HaskellSafe
LanguageHaskell2010

Pattern.Cast

Synopsis
  • class Cast a b where

    Documentation

    class Cast a b where #

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

    Minimal complete definition

    cast

    Methods

    cast :: a -> b #

    Instances
    Cast a a # 
    Instance details

    Defined in Pattern.Cast

    Methods

    cast :: a -> a #