diff options
author | Helmut Grohne <helmut@subdivi.de> | 2019-09-29 13:54:46 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2019-09-29 13:54:46 +0200 |
commit | 6ce567bf63a61bce4ccf71e3ec402d94d1da2fb1 (patch) | |
tree | b8fcf765afd7da6f300221f02da215696e2be4a2 /Generic.agda | |
parent | 8435606d98e418394edbe5104b3f425e56a5a207 (diff) | |
download | bidiragda-6ce567bf63a61bce4ccf71e3ec402d94d1da2fb1.tar.gz |
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.
Diffstat (limited to 'Generic.agda')
-rw-r--r-- | Generic.agda | 3 |
1 files changed, 2 insertions, 1 deletions
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_) |