rest-types-1.14.1.2: 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 Source #

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

Minimal complete definition

describe

Methods

describe :: proxy a -> String Source #

example :: proxy a -> String Source #

Instances

Info Int Source # 

Methods

describe :: proxy Int -> String Source #

example :: proxy Int -> String Source #

Info Integer Source # 

Methods

describe :: proxy Integer -> String Source #

example :: proxy Integer -> String Source #

Info String Source # 

Methods

describe :: proxy String -> String Source #

example :: proxy String -> String Source #

Info Text Source # 

Methods

describe :: proxy Text -> String Source #

example :: proxy Text -> String Source #