Cabal-2.0.0.2: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.ComponentName

Synopsis

Documentation

data ComponentName Source #

Instances

Eq ComponentName Source # 
Ord ComponentName Source # 
Read ComponentName Source # 
Show ComponentName Source # 
Generic ComponentName Source # 

Associated Types

type Rep ComponentName :: * -> * #

Binary ComponentName Source # 
Text ComponentName Source # 
type Rep ComponentName Source # 

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.