gendocs-0.1.1: Library for generating interface documentation from types

Safe HaskellSafe
LanguageHaskell2010

Data.Docs.Sample

Documentation

class Sample a where Source #

Minimal complete definition

sample

Methods

sample :: Proxy a -> a Source #

samples :: Proxy a -> [a] Source #

allValues :: Proxy a -> [a] Source #

If the values are bounded (an enum), list all of them