------------------------------------------------------------------------ -- The Agda standard library -- -- Showing unnormalised rational numbers ------------------------------------------------------------------------ {-# OPTIONS --cubical-compatible --safe #-} module Data.Rational.Unnormalised.Show where import Data.Integer.Show as ℤ using (show) open import Data.Rational.Unnormalised.Base using (ℚᵘ; ↥_; ↧_) open import Data.String.Base using (String; _++_) show : ℚᵘ → String show p = ℤ.show (↥ p) ++ "/" ++ ℤ.show (↧ p)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4