cabal-install-3.10.1.0: The command-line interface for Cabal and Hackage.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.Types.RepoName

Synopsis

Documentation

newtype RepoName Source #

Repository name.

May be used as path segment.

Constructors

RepoName 

Fields

Instances

Instances details
Parsec RepoName Source #
>>> simpleParsec "hackage.haskell.org" :: Maybe RepoName
Just (RepoName "hackage.haskell.org")
>>> simpleParsec "0123" :: Maybe RepoName
Nothing
Instance details

Defined in Distribution.Client.Types.RepoName

Methods

parsec :: CabalParsing m => m RepoName #

Pretty RepoName Source # 
Instance details

Defined in Distribution.Client.Types.RepoName

Structured RepoName Source # 
Instance details

Defined in Distribution.Client.Types.RepoName

Generic RepoName Source # 
Instance details

Defined in Distribution.Client.Types.RepoName

Associated Types

type Rep RepoName :: Type -> Type #

Methods

from :: RepoName -> Rep RepoName x #

to :: Rep RepoName x -> RepoName #

Show RepoName Source # 
Instance details

Defined in Distribution.Client.Types.RepoName

Binary RepoName Source # 
Instance details

Defined in Distribution.Client.Types.RepoName

Methods

put :: RepoName -> Put #

get :: Get RepoName #

putList :: [RepoName] -> Put #

NFData RepoName Source # 
Instance details

Defined in Distribution.Client.Types.RepoName

Methods

rnf :: RepoName -> () #

Eq RepoName Source # 
Instance details

Defined in Distribution.Client.Types.RepoName

Ord RepoName Source # 
Instance details

Defined in Distribution.Client.Types.RepoName

type Rep RepoName Source # 
Instance details

Defined in Distribution.Client.Types.RepoName

type Rep RepoName = D1 ('MetaData "RepoName" "Distribution.Client.Types.RepoName" "cabal-install-3.10.1.0-FbhGUvZ0l0XIx7QbOQfSVh" 'True) (C1 ('MetaCons "RepoName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unRepoName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))