Cabal-2.1.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.ComponentName

Synopsis

Documentation

data ComponentName Source #

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 :: * -> * Source #

Binary ComponentName # 
Instance details
Pretty ComponentName # 
Instance details
Text ComponentName # 
Instance details
type Rep ComponentName # 
Instance details

componentNameString :: ComponentName -> Maybe UnqualComponentName Source #

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.