foundation-0.0.10: 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 Source #

Class of things that can be converted from a to b

Minimal complete definition

convert

Associated Types

type Convert a b Source #

Methods

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

Instances

Convertible a a Source # 

Associated Types

type Convert a a :: * Source #

Methods

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