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.
-
code-conjure Conjure.Engine (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.Engine (Debug option) Makes conjure print enumerated deconstructions when provided in its ingredient list.
-
code-conjure Conjure.Engine O(n). Returns a string representation of an expression. Differently from show (:: Expr -> String) this function does not include the type in the output.
> putStrLn $ showExpr (one -+- two) 1 + 2
> putStrLn $ showExpr $ (pp -||- true) -&&- (qq -||- false) (p || True) && (q || False)
showOpExpr :: String -> Expr -> Stringcode-conjure Conjure.Engine O(n). Like showPrecExpr but the precedence is taken from the given operator name.
> showOpExpr "*" (two -*- three) "(2 * 3)"
> showOpExpr "+" (two -*- three) "2 * 3"
To imply that the surrounding environment is a function application, use " " as the given operator.> showOpExpr " " (two -*- three) "(2 * 3)"
-
code-conjure Conjure.Engine (Debug option) When this option is provided in the ingredients list, conjure will print the enumrated LHS patterns. (cf. maxPatternSize, maxPatternDepth)
showPrecExpr :: Int -> Expr -> Stringcode-conjure Conjure.Engine O(n). Like showExpr but allows specifying the surrounding precedence.
> showPrecExpr 6 (one -+- two) "1 + 2"
> showPrecExpr 7 (one -+- two) "(1 + 2)"
-
code-conjure Conjure.Engine (Debug option) When provided in the ingredients list, conjure will print the tests reified from the partial definition. (cf. maxTests, maxSearchTests)
-
code-conjure Conjure.Engine (Debug option). Shows the underlying theory used in pruning when this is provided in the ingredient list.
-
code-conjure Conjure.Expr O(n). Returns a string representation of an expression. Differently from show (:: Expr -> String) this function does not include the type in the output.
> putStrLn $ showExpr (one -+- two) 1 + 2
> putStrLn $ showExpr $ (pp -||- true) -&&- (qq -||- false) (p || True) && (q || False)
showOpExpr :: String -> Expr -> Stringcode-conjure Conjure.Expr O(n). Like showPrecExpr but the precedence is taken from the given operator name.
> showOpExpr "*" (two -*- three) "(2 * 3)"
> showOpExpr "+" (two -*- three) "2 * 3"
To imply that the surrounding environment is a function application, use " " as the given operator.> showOpExpr " " (two -*- three) "(2 * 3)"