rest-types-1.14.1.1: Silk Rest Framework Types

Safe HaskellSafe
LanguageHaskell98

Rest.Types.Info

Description

Module facilitating informative inspection of datatypes.

Synopsis

Documentation

class Typeable a => Info a where #

Type class representing information about the read/show function on a data type.

Minimal complete definition

describe

Methods

describe :: proxy a -> String #

example :: proxy a -> String #

Instances

Info Int # 

Methods

describe :: proxy Int -> String #

example :: proxy Int -> String #

Info Integer # 

Methods

describe :: proxy Integer -> String #

example :: proxy Integer -> String #

Info String # 

Methods

describe :: proxy String -> String #

example :: proxy String -> String #

Info Text # 

Methods

describe :: proxy Text -> String #

example :: proxy Text -> String #