Cabal-2.2.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.ComponentName

Synopsis

Documentation

data ComponentName Source #

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

Associated Types

type Rep ComponentName :: * -> * Source #

Binary ComponentName Source # 
Instance details
Pretty ComponentName Source # 
Instance details
Text ComponentName Source # 
Instance details
type Rep ComponentName Source # 
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.