Hoogle Search
Within Stackage Nightly 2025-09-25 (ghc-9.12.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setStringStyle :: (Text -> (Tag, Style)) -> EncodeOptions -> EncodeOptionsyaml Data.Yaml Set the string style in the encoded YAML. This is a function that decides for each string the type of YAML string to output. WARNING: You must ensure that special strings (like "yes"/"no"/"null"/"1234") are not encoded with the Plain style, because then they will be decoded as boolean, null or numeric values. You can use isSpecialString to detect them. By default, strings are encoded as follows:
- Any string containing a newline character uses the Literal style
- Otherwise, any special string (see isSpecialString) uses SingleQuoted
- Otherwise, use Plain
setWidth :: Maybe Int -> FormatOptions -> FormatOptionsyaml Data.Yaml Set the maximum number of columns in the YAML output, or Nothing for infinite. By default, the limit is 80 characters.
setWidth :: Maybe Int -> FormatOptions -> FormatOptionsyaml Data.Yaml.Builder Set the maximum number of columns in the YAML output, or Nothing for infinite. By default, the limit is 80 characters.
setConfCompare :: (Text -> Text -> Ordering) -> Config -> Configyaml Data.Yaml.Pretty Sets ordering for object keys
setConfDropNull :: Bool -> Config -> Configyaml Data.Yaml.Pretty setDelete :: Label -> LabelSet -> LabelSetghc GHC.Cmm.Dataflow.Label No documentation available.
setDifference :: LabelSet -> LabelSet -> LabelSetghc GHC.Cmm.Dataflow.Label No documentation available.
setElems :: LabelSet -> [Label]ghc GHC.Cmm.Dataflow.Label No documentation available.
-
ghc GHC.Cmm.Dataflow.Label No documentation available.
setFilter :: (Label -> Bool) -> LabelSet -> LabelSetghc GHC.Cmm.Dataflow.Label No documentation available.