text-show-3.10.4: Efficient conversion of values into Text

Copyright | (C) 2014-2017 Ryan Scott
License | BSD-style (see the file LICENSE)
Maintainer | Ryan Scott
Stability | Provisional
Portability | GHC
Safe Haskell | Safe-Inferred
Language | Haskell2010

TextShow.Data.Ratio

Contents

- Orphan instances

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 #