Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
turtle Turtle.Line The NewlineForbidden exception is thrown when you construct a Line using an overloaded string literal or by calling fromString explicitly and the supplied string contains newlines. This is a programming error to do so: if you aren't sure that the input string is newline-free, do not rely on the IsString Line instance. When debugging, it might be useful to look for implicit invocations of fromString for Line:
>>> sh (do { line <- "Hello\nWorld"; echo line }) *** Exception: NewlineForbiddenIn the above example, echo expects its argument to be a Line, thus line :: Line. Since we bind line in Shell, the string literal "Hello\nWorld" has type Shell Line. The IsString (Shell Line) instance delegates the construction of a Line to the IsString Line instance, where the exception is thrown. To fix the problem, use textToLines:>>> sh (do { line <- select (textToLines "Hello\nWorld"); echo line }) Hello World NewlineForbidden :: NewlineForbiddenturtle Turtle.Line No documentation available.
collatorFor :: Lang -> Collatorunicode-collation Text.Collate Returns a collator based on a BCP 47 language tag. If no exact match is found, we try to find the best match (falling back to the root collation if nothing else succeeds). If something other than the default collation for a language is desired, the co keyword of the unicode extensions can be used (e.g. es-u-co-trad for traditional Spanish). Other unicode extensions affect the collator options:
- The kb keyword has the same effect as setFrenchAccents (e.g. fr-FR-u-kb-true).
- The ka keyword has the same effect as setVariableWeight (e.g. fr-FR-u-kb-ka-shifted or en-u-ka-noignore).
- The kf keyword has the same effect as setUpperBeforeLower (e.g. fr-u-kf-upper or fr-u-kf-lower).
- The kk keyword has the same effect as setNormalization (e.g. fr-u-kk-false).
optUpperBeforeLower :: CollatorOptions -> Boolunicode-collation Text.Collate Sort uppercase letters before lower
setUpperBeforeLower :: Bool -> Collator -> Collatorunicode-collation Text.Collate Most collations default to sorting lowercase letters before uppercase (exceptions: mt, da, cu). To select the opposite behavior, use setUpperBeforeLower True.
-
unsafe System.Unsafe No documentation available.
BasicAuthCredsBadFormat :: BasicAuthError ewebgear-core WebGear.Core.Trait.Auth.Basic No documentation available.
JWTAuthTokenBadFormat :: JWTError -> JWTAuthError ewebgear-core WebGear.Core.Trait.Auth.JWT No documentation available.
withTransform :: Matrix -> BackendProgram a -> BackendProgram aChart Graphics.Rendering.Chart.Backend Apply the given transformation in this local environment when drawing. The given transformation is applied after the current transformation. This means both are combined.
WithTransform :: forall a . Matrix -> Program ChartBackendInstr a -> ChartBackendInstr aChart Graphics.Rendering.Chart.Backend.Impl No documentation available.