gendocs-0.1.3: Library for generating interface documentation from types

Safe HaskellSafe
LanguageHaskell2010

Data.Docs.TypeName

Synopsis

Documentation

typeName :: forall a. (Generic a, GTypeName (Rep a)) => Proxy a -> String Source #

Get the typename for anything that has a simple one. https://gist.github.com/nh2/1a03b7873dbed348ef64fe536028776d

class GTypeName f where Source #

Minimal complete definition

gtypename

Methods

gtypename :: f a -> String Source #

Instances

Datatype Meta c => GTypeName (M1 i c f) Source # 

Methods

gtypename :: M1 i c f a -> String Source #