From 6ce567bf63a61bce4ccf71e3ec402d94d1da2fb1 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sun, 29 Sep 2019 13:54:46 +0200 Subject: port to agda/2.6.0.1 and agda-stdlib/1.1 * Data.Vec.lookup changed parameter order. * A number of symbols were moved from Data.Maybe to submodules. * In a number of occasions, agda no longer figures implicit arguments and they had to be made explicit. * We can no longer use heterogeneous proofs inside equational reasoning for propositional equality. Use heterogeneous equational reasoning. * Stop importing proof-irrelevance as that would require K. --- Generic.agda | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Generic.agda') diff --git a/Generic.agda b/Generic.agda index 323688a..ed9d4a4 100644 --- a/Generic.agda +++ b/Generic.agda @@ -3,8 +3,9 @@ module Generic where import Category.Functor import Category.Monad open import Data.List using (List ; length) renaming ([] to []L ; _∷_ to _∷L_) -open import Data.Maybe using (Maybe ; just ; nothing) renaming (setoid to MaybeEq) +open import Data.Maybe using (Maybe ; just ; nothing) import Data.Maybe.Categorical +open import Data.Maybe.Relation.Binary.Pointwise using (just ; nothing) renaming (setoid to MaybeEq) open import Data.Nat using (ℕ ; zero ; suc) open import Data.Product using (_×_ ; _,_) open import Data.Vec using (Vec ; toList ; fromList ; map) renaming ([] to []V ; _∷_ to _∷V_) -- cgit v1.2.3