text-show-3.8.5: Efficient conversion of values into Text
Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Ratio

Description

TextShow instance for Ratio.

Since: 2

Orphan instances

TextShow1 Ratio Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Ratio a -> Builder Source #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Ratio a] -> Builder Source #

TextShow a => TextShow (Ratio a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> Ratio a -> Builder Source #

showb :: Ratio a -> Builder Source #

showbList :: [Ratio a] -> Builder Source #

showtPrec :: Int -> Ratio a -> Text Source #

showt :: Ratio a -> Text Source #

showtList :: [Ratio a] -> Text Source #

showtlPrec :: Int -> Ratio a -> Text Source #

showtl :: Ratio a -> Text Source #

showtlList :: [Ratio a] -> Text Source #