Hoogle Search

Within LTS Haskell 24.48 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. class PPrint a

    grisette Grisette.Internal.Core.Data.Class.PPrint

    Pretty printing of values. This class is similar to the Pretty class from the Prettyprinter package, but it also provides pretty printing with a given precedence level. We are able to derive instances of this class for algebraic data types. You may need the DerivingVia and DerivingStrategies extensions.

    data X = ... deriving Generic deriving PPrint via (Default X)
    
    The derived instance will pretty print the value with a format similar to the one used by ormolu.

  2. data family PPrintArgs arity a ann

    grisette Grisette.Internal.Core.Data.Class.PPrint

    The arguments to the generic PPrint class.

  3. data PPrintType

    grisette Grisette.Internal.Core.Data.Class.PPrint

    Controls how to pretty-print a generic representation.

  4. pprint :: PPrint a => a -> IO ()

    grisette Grisette.Internal.Core.Data.Class.PPrint

    Pretty print a value to the standard output.

  5. prettyPrintTerm :: Term t -> Doc ann

    grisette Grisette.Internal.SymPrim.Prim.Internal.Term

    Pretty-print a term, possibly eliding parts of it.

  6. pprintClasses :: [Name]

    grisette Grisette.Internal.TH.Derivation.Derive

    PPrint classes that can be derived for GADTs. This includes:

  7. module Grisette.Internal.TH.Derivation.DerivePPrint

    No documentation available.

  8. derivePPrint :: DeriveConfig -> Name -> Q [Dec]

    grisette Grisette.Internal.TH.Derivation.DerivePPrint

    Derive PPrint instance for a data type.

  9. derivePPrint1 :: DeriveConfig -> Name -> Q [Dec]

    grisette Grisette.Internal.TH.Derivation.DerivePPrint

    Derive PPrint1 instance for a data type.

  10. derivePPrint2 :: DeriveConfig -> Name -> Q [Dec]

    grisette Grisette.Internal.TH.Derivation.DerivePPrint

    Derive PPrint2 instance for a data type.

Page 387 of many | Previous | Next