Skip to content

Commit fcc8219

Browse files
committed
More generic
1 parent 710a9af commit fcc8219

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

leios-trace-verifier/Parser.agda

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,9 @@ module _ (numberOfParties : ℕ) (sutId : ℕ) (stakeDistr : List (Pair String
347347
unquoteDecl Show-BlockType = derive-Show [ (quote BlockType , Show-BlockType) ]
348348

349349
instance
350-
Show-sum : Show (EndorserBlockList Tx)
351-
Show-sum .show (inj₁ x) = show x
352-
Show-sum .show (inj₂ y) = show y
350+
Show- : {ℓ} {A B : Type ℓ} Show A ⦄ ⦃ Show B ⦄ Show (AB)
351+
Show- .show (inj₁ x) = show x
352+
Show- .show (inj₂ y) = show y
353353

354354
unquoteDecl Show-FFDUpdate = derive-Show [ (quote FFDUpdate , Show-FFDUpdate) ]
355355
unquoteDecl Show-Params = derive-Show [ (quote Params , Show-Params) ]

0 commit comments

Comments
 (0)