Cabal-2.4.0.1: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.ComponentName

Synopsis

Documentation

data ComponentName #

Instances
Eq ComponentName # 
Instance details

Defined in Distribution.Types.ComponentName

Ord ComponentName # 
Instance details

Defined in Distribution.Types.ComponentName

Read ComponentName # 
Instance details

Defined in Distribution.Types.ComponentName

Show ComponentName # 
Instance details

Defined in Distribution.Types.ComponentName

Generic ComponentName # 
Instance details

Defined in Distribution.Types.ComponentName

Associated Types

type Rep ComponentName :: * -> * #

Binary ComponentName # 
Instance details

Defined in Distribution.Types.ComponentName

Pretty ComponentName # 
Instance details

Defined in Distribution.Types.ComponentName

Methods

pretty :: ComponentName -> Doc #

Text ComponentName # 
Instance details

Defined in Distribution.Types.ComponentName

type Rep ComponentName # 
Instance details

Defined in Distribution.Types.ComponentName

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.