Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype OutputName = OutputName {
- unOutputName :: Text
- mkOutputName :: Text -> Either InvalidNameError OutputName
- data InvalidNameError
- parseNameText :: Text -> Either InvalidNameError Text
Documentation
newtype OutputName Source #
Name of the derived path output Typically used for "dev", "doc" sub-outputs
OutputName | |
|
Instances
Re-exports
data InvalidNameError Source #
Reason why a path name or output name is not valid
Instances
parseNameText :: Text -> Either InvalidNameError Text Source #
Parse name (either StorePathName
or OutputName
)