Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
formatIntegral' :: Integral a => Text -> LocaleName -> a -> Texttext-icu Data.Text.ICU Create a number formatter and apply it to an integral number.
formatCalendar :: DateFormatter -> Calendar -> Texttext-icu Data.Text.ICU.DateFormatter Format a Calendar using a DateFormatter.
>>> import Data.Text >>> dfDe <- standardDateFormatter LongFormatStyle LongFormatStyle (Locale "de_DE") (pack "CET") >>> c <- calendar (pack "CET") (Locale "de_DE") TraditionalCalendarType >>> formatCalendar dfDe c "13. Oktober 2021 um 12:44:09 GMT+2"
formatNumber :: FormattableNumber n => NumberFormat -> n -> Texttext-icu Data.Text.ICU.Number No documentation available.
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.
foreColorDiff :: DisplayAttrDiff -> DisplayColorDiffvty Graphics.Vty.DisplayAttributes No documentation available.
foreColor :: Color -> InlineM ()vty Graphics.Vty.Inline Set the foreground color to the provided Color.