Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. setPrintLocationToConsole :: Bool -> IO ()

    easy-logger EasyLogger.Logger

    Set the least logging level. Levels lower will not be logged. Log Level Order: Debug < Info < Warning < Error. None disables all logging. Note that the output to stderr using e.g. logPrintError will not be affected!

  2. setExtended :: Bool -> Context a -> Context a

    ede Text.EDE.Internal.Eval

    No documentation available.

  3. settings :: Lens' Env Syntax

    ede Text.EDE.Internal.Parser

    No documentation available.

  4. setCons :: Listable a => ([a] -> b) -> [[b]]

    extrapolate Test.Extrapolate

    Given a constructor that takes a set of elements (as a list), lists tiers of applications of this constructor. A naive Listable instance for the Set (of Data.Set) would read:

    instance Listable a => Listable (Set a) where
    tiers  =  cons0 empty \/ cons2 insert
    
    The above instance has a problem: it generates repeated sets. A more efficient implementation that does not repeat sets is given by:
    tiers  =  setCons fromList
    
    Alternatively, you can use setsOf direclty.

  5. setsOf :: [[a]] -> [[[a]]]

    extrapolate Test.Extrapolate

    Takes as argument tiers of element values; returns tiers of size-ordered lists of elements without repetition.

    setsOf [[0],[1],[2],...] =
    [ [[]]
    , [[0]]
    , [[1]]
    , [[0,1],[2]]
    , [[0,2],[3]]
    , [[0,3],[1,2],[4]]
    , [[0,1,2],[0,4],[1,3],[5]]
    , ...
    ]
    
    Can be used in the constructor of specialized Listable instances. For Set (from Data.Set), we would have:
    instance Listable a => Listable (Set a) where
    tiers  =  mapT fromList $ setsOf tiers
    

  6. setCons :: Listable a => ([a] -> b) -> [[b]]

    extrapolate Test.Extrapolate.Core

    Given a constructor that takes a set of elements (as a list), lists tiers of applications of this constructor. A naive Listable instance for the Set (of Data.Set) would read:

    instance Listable a => Listable (Set a) where
    tiers  =  cons0 empty \/ cons2 insert
    
    The above instance has a problem: it generates repeated sets. A more efficient implementation that does not repeat sets is given by:
    tiers  =  setCons fromList
    
    Alternatively, you can use setsOf direclty.

  7. setsOf :: [[a]] -> [[[a]]]

    extrapolate Test.Extrapolate.Core

    Takes as argument tiers of element values; returns tiers of size-ordered lists of elements without repetition.

    setsOf [[0],[1],[2],...] =
    [ [[]]
    , [[0]]
    , [[1]]
    , [[0,1],[2]]
    , [[0,2],[3]]
    , [[0,3],[1,2],[4]]
    , [[0,1,2],[0,4],[1,3],[5]]
    , ...
    ]
    
    Can be used in the constructor of specialized Listable instances. For Set (from Data.Set), we would have:
    instance Listable a => Listable (Set a) where
    tiers  =  mapT fromList $ setsOf tiers
    

  8. setNumStripes :: Maybe Int -> PoolConfig a -> PoolConfig a

    faktory Data.Pool.Compat

    Set the number of stripes in the pool. If set to Nothing (the default value), the pool will create the amount of stripes equal to the number of capabilities. This ensures that threads never compete over access to the same stripe and results in a very good performance in a multi-threaded environment.

  9. settingsConnection :: Settings -> ConnectionInfo

    faktory Faktory.Settings

    No documentation available.

  10. settingsDefaultJobOptions :: Settings -> JobOptions

    faktory Faktory.Settings

    No documentation available.

Page 776 of many | Previous | Next