Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
detectCharacterSet :: Expr Src a -> CharacterSetdhall Dhall.Pretty Detect which character set is used for the syntax of an expression If any parts of the expression uses the Unicode syntax, the whole expression is deemed to be using the Unicode syntax.
prettyCharacterSet :: Pretty a => CharacterSet -> Expr Src a -> Doc Anndhall Dhall.Pretty Pretty-print an Expr using the given CharacterSet. prettyCharacterSet largely ignores Notes. Notes do however matter for the layout of let-blocks:
>>> let inner = Let (Binding Nothing "x" Nothing Nothing Nothing (NaturalLit 1)) (Var (V "x" 0)) :: Expr Src () >>> prettyCharacterSet ASCII (Let (Binding Nothing "y" Nothing Nothing Nothing (NaturalLit 2)) inner) let y = 2 let x = 1 in x >>> prettyCharacterSet ASCII (Let (Binding Nothing "y" Nothing Nothing Nothing (NaturalLit 2)) (Note (Src unusedSourcePos unusedSourcePos "") inner)) let y = 2 in let x = 1 in x
This means the structure of parsed let-blocks is preserved.chosenCharacterSet :: Schemas -> Maybe CharacterSetdhall Dhall.Schemas No documentation available.
-
dhall Dhall.Set -
dhall Dhall.Set resetTimer :: TimerRef -> Process ()distributed-process-extras Control.Distributed.Process.Extras.Timer resets a running timer. Note: Cancelling a timer does not guarantee that all its messages are prevented from being delivered to the target process. Also note that resetting an ongoing timer (started using the startTimer or periodically functions) will only cause the current elapsed period to time out, after which the timer will continue running. To stop a long-running timer permanently, you should use cancelTimer instead.
class KnownPrefix es =>
Subset (subEs :: [Effect]) (es :: [Effect])effectful-core Effectful Provide evidence that subEs is a subset of es.
class Subset subEs es =>
KnownSubset (subEs :: [Effect]) (es :: [Effect])effectful-core Effectful.Dispatch.Dynamic Provide evidence that subEs is a known subset of es.
class Subset subEs es =>
KnownSubset (subEs :: [Effect]) (es :: [Effect])effectful-core Effectful.Internal.Effect Provide evidence that subEs is a known subset of es.
class KnownPrefix es =>
Subset (subEs :: [Effect]) (es :: [Effect])effectful-core Effectful.Internal.Effect Provide evidence that subEs is a subset of es.