Hoogle Search
Within LTS Haskell 24.37 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
No documentation available.
-
djot Djot.AST No documentation available.
Format :: ByteString -> Formatdjot Djot.AST No documentation available.
-
Text formatting of Doubles. In particular, the library provides functionality to calculate and display a fixed number of significant figures for a variety of different number formatting styles. Some similar libraries that may be better suited for different use cases include: Flexible formatters. These libraries provide more flexibility around formatting options, but do not have a concept of significance:
text-format has similar functionality but is not native haskell and I wanted to do some tweaking to defaults. It's probably safer and faster. rounded seems to be much more about doing computation taking rounding into account, compared with the much simpler task of pretty printing a number. This library could have just provided an ability to compute a significant figure version of a number and then use these other libraries, but the round trip (from Double to SigFig to Double) introduces errors (eg the least significant figure goes from being a '4' to a '3999999' via float maths). formatn is used in the chart-svg library to automate consistent number formatting across different scales. -
formatn Data.FormatN Wrapper for the various formatting options.
>>> defaultFormatN FormatN {fstyle = FSCommaPrec, sigFigs = Just 2, maxDistinguishIterations = 4, addLPad = True, cutRightZeros = True} FormatN :: FStyle -> Maybe Int -> Int -> Bool -> Bool -> FormatNformatn Data.FormatN No documentation available.
-
formatn Data.FormatN Data type representing styles of formatting
ForS :: a -> Maybe VarName -> VarName -> Expression a -> Statement a -> Statement aginger Text.Ginger.AST {% for index, varname in expression %}statement{% endfor %}
-
graphql Language.GraphQL.AST.Encoder Instructs the encoder whether the GraphQL document should be minified or pretty printed. Use pretty or minified to construct the formatter.
module Database.PostgreSQL.PQTypes.Model.
ForeignKey No documentation available.