Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. module Prettychart

    A haskell library to serve charts via ghci.

  2. data PageWidth

    prettyprinter-combinators Prettyprinter.Combinators

    Maximum number of characters that fit in one line. The layout algorithms will try not to exceed the set limit by inserting line breaks when applicable (e.g. via softline').

  3. class Pretty a

    prettyprinter-combinators Prettyprinter.Combinators

    Overloaded conversion to Doc. Laws:

    1. output should be pretty. :-)

  4. newtype PPGeneric a

    prettyprinter-combinators Prettyprinter.Generics

    Helper to use Generic-based prettyprinting with DerivingVia.

    >>> :{
    data TestWithDeriving a b = TestWithDeriving
    { testSet         :: Maybe (Set a)
    , testB           :: b
    , testIntMap      :: IntMap String
    , testComplexMap  :: Map (Maybe (Set Int)) (IntMap (Set String))
    }
    deriving (Generic)
    deriving Pretty via PPGeneric (TestWithDeriving a b)
    :}
    
    With -XDerivingVia >>> :{ data TestWithDeriving a b = TestWithDeriving { testSet :: Maybe (Set a) , testB :: b , testIntMap :: IntMap String , testComplexMap :: Map (Maybe (Set Int)) (IntMap (Set String)) } deriving (Generic) deriving via PPGeneric (TestWithDeriving a b) instance (Pretty a, Pretty b) => Pretty (TestWithDeriving a b) :}

  5. PPGeneric :: a -> PPGeneric a

    prettyprinter-combinators Prettyprinter.Generics

    No documentation available.

  6. class PPGenericOverride a

    prettyprinter-combinators Prettyprinter.Generics

    A class to override Pretty when calling ppGeneric without introducing orphans for standard types.

  7. class Pretty a

    prettyprinter-combinators Prettyprinter.Generics

    Overloaded conversion to Doc. Laws:

    1. output should be pretty. :-)

  8. newtype PPShow a

    prettyprinter-combinators Prettyprinter.Show

    Helper to use Show-based prettyprinting with DerivingVia.

    >>> :{
    data TestWithDeriving a b = TestWithDeriving
    { testSet         :: Maybe (Set a)
    , testB           :: b
    , testIntMap      :: IntMap String
    , testComplexMap  :: Map (Maybe (Set Int)) (IntMap (Set String))
    }
    deriving (Show)
    deriving Pretty via PPShow (TestWithDeriving a b)
    :}
    

  9. PPShow :: a -> PPShow a

    prettyprinter-combinators Prettyprinter.Show

    No documentation available.

  10. class Pretty a

    prettyprinter-combinators Prettyprinter.Show

    Overloaded conversion to Doc. Laws:

    1. output should be pretty. :-)

Page 978 of many | Previous | Next