Hoogle Search

Within LTS Haskell 24.19 (ghc-9.10.3)

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

  1. showSourceLoc :: CallStack -> Text

    co-log Colog.Message

    Shows source code locations in the following format:

    [Main.example#35]
    

  2. showThreadId :: ThreadId -> Text

    co-log Colog.Message

    Shows a thread id in the following format: >> showThreadId $ Control.Concurrent.myThreadId "[ThreadId 4898] "

  3. showTime :: UTCTime -> Text

    co-log Colog.Message

    Shows time in the following format:

    >>> showTime $ C.UTCTime (C.fromGregorian 2019 12 29) (C.secondsToDiffTime 3600 * 22)
    "[29 Dec 2019 22:00:00.000 +00:00] "
    

  4. showTimeOffset :: ZonedTime -> Text

    co-log Colog.Message

    Shows time in the following format:

    >>> showTimeOffset $ C.utcToZonedTime (C.hoursToTimeZone (-2)) (C.UTCTime (C.fromGregorian 2019 12 29) (C.secondsToDiffTime 3600 * 22))
    "[29 Dec 2019 20:00:00.000 -02:00] "
    

  5. showCandidates :: Ingredient

    code-conjure Conjure

    (Debug option) When provided in the ingredients list, this enables showing enumerated candidates.

    conjure ... ... [ ...
    , showCandidates
    , ... ]
    
    Warning: activating this will likely produce a humongous wall-of-text.

  6. showDeconstructions :: Ingredient

    code-conjure Conjure

    (Debug option) Makes conjure print enumerated deconstructions when provided in its ingredient list.

  7. showPatterns :: Ingredient

    code-conjure Conjure

    (Debug option) When this option is provided in the ingredients list, conjure will print the enumrated LHS patterns. (cf. maxPatternSize, maxPatternDepth)

  8. showTests :: Ingredient

    code-conjure Conjure

    (Debug option) When provided in the ingredients list, conjure will print the tests reified from the partial definition. (cf. maxTests, maxSearchTests)

  9. showTheory :: Ingredient

    code-conjure Conjure

    (Debug option). Shows the underlying theory used in pruning when this is provided in the ingredient list.

  10. showDefn :: Defn -> String

    code-conjure Conjure.Defn

    Pretty-prints a Defn as a String:

    > putStr $ showDefn sumDefn
    sum []  =  0
    sum (x:xs)  =  x + sum xs
    

Page 137 of many | Previous | Next