We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Show
ℚ
1 parent 252d8a3 commit 73f4da0Copy full SHA for 73f4da0
Class/Show/Instances.agda
@@ -33,6 +33,9 @@ instance
33
Show-ℤ = Show _ ∋ record {M}
34
where import Data.Integer.Show as M
35
36
+ Show-ℚ = Show _ ∋ record {M}
37
+ where import Data.Rational.Show as M
38
+
39
Show-Fin : Show¹ Fin
40
Show-Fin .show = ("# " ◇_) ∘ show ∘ toℕ
41
where open import Data.Fin using (toℕ)
0 commit comments