------------------------------------------------------------------------
-- The Agda standard library
--
-- Showing rational numbers
------------------------------------------------------------------------

{-# OPTIONS --cubical-compatible --safe #-}

module Data.Rational.Show where

import Data.Integer.Show as 
open import Data.Rational.Base
open import Data.String.Base using (String; _++_)

show :   String
show p = ℤ.show ( p) ++ "/" ++ ℤ.show ( p)