Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
A thin wrapper around List
. 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 [a] (List s b a) Source # | |
(Newtype a b, Parsec b, Sep s) => Parsec (List s b a) Source # | |
Defined in CabalGild.Type.List parsec :: CabalParsing m => m (List s b a) # | |
(Newtype a b, Pretty b) => Pretty (List CommaFSep b a) Source # | Overlaps the more general instance in order to use trailing commas when possible. |
Defined in CabalGild.Type.List | |
(Newtype a b, Pretty b, Sep s) => Pretty (List s b a) Source # | |
Defined in CabalGild.Type.List prettyVersioned :: CabalSpecVersion -> List s b a -> Doc # |