foundation-0.0.6: Alternative prelude with batteries and no dependencies

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Foundation.Convertible

Description

 

Synopsis

Documentation

class Convertible a b where #

Class of things that can be converted from a to b

Minimal complete definition

convert

Associated Types

type Convert a b #

Methods

convert :: Proxy b -> a -> Convert a b #

Instances

Convertible a a # 

Associated Types

type Convert a a :: * #

Methods

convert :: Proxy * a -> a -> Convert a a #