Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
A thin wrapper around Set'
. This is used to define custom
instances of Pretty
that use trailing commas when the Cabal spec
version is recent enough (at least 2.2
).
Instances
Newtype (Set a) (Set s b a) Source # | |
(Newtype a b, Ord a, Parsec b, Sep s) => Parsec (Set s b a) Source # | |
Defined in CabalGild.Type.Set parsec :: CabalParsing m => m (Set s b a) # | |
(Newtype a b, Pretty b) => Pretty (Set CommaFSep b a) Source # | Overlaps the more general instance in order to use trailing commas when possible. |
Defined in CabalGild.Type.Set | |
(Newtype a b, Pretty b) => Pretty (Set CommaVCat b a) Source # | Overlaps the more general instance in order to use trailing commas when possible. |
Defined in CabalGild.Type.Set | |
(Newtype a b, Pretty b, Sep s) => Pretty (Set s b a) Source # | |
Defined in CabalGild.Type.Set prettyVersioned :: CabalSpecVersion -> Set s b a -> Doc # |