Hoogle Search
Within LTS Haskell 24.49 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
formatNumber' :: FormattableNumber n => NumberFormatStyle -> LocaleName -> n -> Texttext-icu Data.Text.ICU.Number Create a formatter and apply it in one step.
formatDouble :: NumberFormatter -> Double -> Texttext-icu Data.Text.ICU.NumberFormatter Format a Double. See https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html for how to specify the number skeletons.
>>> import Data.Text >>> nf3 <- numberFormatter (pack "precision-currency-cash") (Locale "it") >>> formatDouble nf3 12345.6789 "12.345,68"
formatDouble' :: Text -> LocaleName -> Double -> Texttext-icu Data.Text.ICU.NumberFormatter Create a number formatter and apply it to a Double.
formatIntegral :: Integral a => NumberFormatter -> a -> Texttext-icu Data.Text.ICU.NumberFormatter Format an integral number. See https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html for how to specify the number skeletons.
>>> import Data.Text >>> nf <- numberFormatter (pack "precision-integer") (Locale "de") >>> formatIntegral nf 12345 "12.345" >>> nf2 <- numberFormatter (pack "precision-integer") (Locale "fr") >>> formatIntegral nf2 12345 "12\8239\&345"
formatIntegral' :: Integral a => Text -> LocaleName -> a -> Texttext-icu Data.Text.ICU.NumberFormatter Create a number formatter and apply it to an integral number.
-
X11 Graphics.X11.Types No documentation available.
forceScreenSaver :: Display -> ScreenSaverMode -> IO ()X11 Graphics.X11.Xlib.Misc interface to the X11 library function XForceScreenSaver().
forLines_ :: (Bytes -> IO a) -> IO ()byteslice Data.Bytes.Text.AsciiExt hForLines_ over stdin
formatStrideForWidth :: Format -> Int -> Intcairo Graphics.Rendering.Cairo This function provides a stride value that will respect all alignment requirements of the accelerated image-rendering code within cairo.
-
ghc-internal GHC.Internal.Base No documentation available.