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.
showSourceLoc :: CallStack -> Textco-log Colog.Message Shows source code locations in the following format:
[Main.example#35]
showThreadId :: ThreadId -> Textco-log Colog.Message Shows a thread id in the following format: >> showThreadId $ Control.Concurrent.myThreadId "[ThreadId 4898] "
-
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] "
showTimeOffset :: ZonedTime -> Textco-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] "
-
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. showDeconstructions :: Ingredientcode-conjure Conjure (Debug option) Makes conjure print enumerated deconstructions when provided in its ingredient list.
-
code-conjure Conjure (Debug option) When this option is provided in the ingredients list, conjure will print the enumrated LHS patterns. (cf. maxPatternSize, maxPatternDepth)
-
code-conjure Conjure (Debug option) When provided in the ingredients list, conjure will print the tests reified from the partial definition. (cf. maxTests, maxSearchTests)
-
code-conjure Conjure (Debug option). Shows the underlying theory used in pruning when this is provided in the ingredient list.
-
code-conjure Conjure.Defn Pretty-prints a Defn as a String:
> putStr $ showDefn sumDefn sum [] = 0 sum (x:xs) = x + sum xs