text-show-3.7.4: 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

Contents

Description

TextShow instance for Ratio.

Since: 2

Orphan instances

TextShow1 Ratio #

Since: 2

Instance details

Methods

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

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

TextShow a => TextShow (Ratio a) #

Since: 2

Instance details

Methods

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

showb :: Ratio a -> Builder #

showbList :: [Ratio a] -> Builder #

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

showt :: Ratio a -> Text #

showtList :: [Ratio a] -> Text #

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

showtl :: Ratio a -> Text #

showtlList :: [Ratio a] -> Text #