File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ open import Relation.Nullary.Decidable.Core using (yes; no)
2424
2525open import Reflection.AST.Abstraction hiding (map)
2626open import Reflection.AST.Argument hiding (map)
27+ open import Reflection.AST.Argument.Quantity
2728open import Reflection.AST.Argument.Relevance
2829open import Reflection.AST.Argument.Visibility
2930open import Reflection.AST.Argument.Modality
@@ -58,6 +59,10 @@ showVisibility visible = "visible"
5859showVisibility hidden = "hidden"
5960showVisibility instance′ = "instance"
6061
62+ showQuantity : Quantity → String
63+ showQuantity quantity-0 = "quantity-0"
64+ showQuantity quantity-ω = "quantity-ω"
65+
6166showLiteral : Literal → String
6267showLiteral (nat x) = ℕ.show x
6368showLiteral (word64 x) = ℕ.show (Word64.toℕ x)
You can’t perform that action at this time.
0 commit comments