Cabal-2.2.0.1: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.ComponentName

Synopsis

Documentation

data ComponentName #

Instances
Eq ComponentName # 
Instance details
Ord ComponentName # 
Instance details
Read ComponentName # 
Instance details
Show ComponentName # 
Instance details
Generic ComponentName # 
Instance details

Associated Types

type Rep ComponentName :: * -> * #

Binary ComponentName # 
Instance details
Pretty ComponentName # 
Instance details

Methods

pretty :: ComponentName -> Doc #

Text ComponentName # 
Instance details
type Rep ComponentName # 
Instance details

componentNameString :: ComponentName -> Maybe UnqualComponentName #

This gets the underlying unqualified component name. In fact, it is guaranteed to uniquely identify a component, returning Nothing if the ComponentName was for the public library.