Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. data PPrintType

    grisette Grisette.Core

    Controls how to pretty-print a generic representation.

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

    grisette Grisette.Core

    Pretty print a value to the standard output.

  3. module Grisette.Internal.Core.Data.Class.PPrint

    No documentation available.

  4. class GPPrint arity (f :: Type -> Type)

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

    Generic PPrint class.

  5. 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.

  6. data family PPrintArgs arity a ann

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

    The arguments to the generic PPrint class.

  7. data PPrintType

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

    Controls how to pretty-print a generic representation.

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

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

    Pretty print a value to the standard output.

  9. prettyPrintTerm :: Term t -> Doc ann

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

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

  10. pprintClasses :: [Name]

    grisette Grisette.Internal.TH.Derivation.Derive

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

Page 270 of many | Previous | Next