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

Copyright(C) 2014-2016 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Ratio

Contents

Description

Monomorphic TextShow function for Ratio values.

Since: 2

Synopsis

Documentation

showbRatioPrec :: TextShow a => Int -> Ratio a -> Builder Source #

Convert a Ratio to a Builder with the given precedence.

Note that on base-4.3.0.0, this function must have a (Show a, Integral a) constraint instead of just a (Show a) constraint.

Since: 2

Orphan instances