cabal-install-3.12.1.0: The command-line interface for Cabal and Hackage.
Safe HaskellNone
LanguageHaskell2010

Distribution.Client.Types.RepoName

Synopsis

Documentation

newtype RepoName #

Repository name.

May be used as path segment.

Constructors

RepoName 

Fields

Instances

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

Defined in Distribution.Client.Types.RepoName

Methods

parsec :: CabalParsing m => m RepoName #

Pretty RepoName # 
Instance details

Defined in Distribution.Client.Types.RepoName

Structured RepoName # 
Instance details

Defined in Distribution.Client.Types.RepoName

Binary RepoName # 
Instance details

Defined in Distribution.Client.Types.RepoName

Methods

put :: RepoName -> Put #

get :: Get RepoName #

putList :: [RepoName] -> Put #

NFData RepoName # 
Instance details

Defined in Distribution.Client.Types.RepoName

Methods

rnf :: RepoName -> () #

Generic RepoName # 
Instance details

Defined in Distribution.Client.Types.RepoName

Associated Types

type Rep RepoName 
Instance details

Defined in Distribution.Client.Types.RepoName

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

Methods

from :: RepoName -> Rep RepoName x #

to :: Rep RepoName x -> RepoName #

Show RepoName # 
Instance details

Defined in Distribution.Client.Types.RepoName

Eq RepoName # 
Instance details

Defined in Distribution.Client.Types.RepoName

Ord RepoName # 
Instance details

Defined in Distribution.Client.Types.RepoName

type Rep RepoName # 
Instance details

Defined in Distribution.Client.Types.RepoName

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