Skip to content

Commit

Permalink
Import everything from README.agda (including tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
jespercockx committed Sep 10, 2021
1 parent d78a3fc commit 980d3c2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
18 changes: 18 additions & 0 deletions README.agda
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{-# OPTIONS --rewriting #-}

import Generics.Prelude
import Generics.Telescope

import Generics.Desc
import Generics.HasDesc
import Generics.Reflection

import Generics.Constructions.Case
import Generics.Constructions.DecEq
import Generics.Constructions.Elim
import Generics.Constructions.Induction
import Generics.Constructions.NoConfusion
import Generics.Constructions.Show

-- Examples
import Parametrized
6 changes: 3 additions & 3 deletions examples/Parametrized.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --rewriting #-}
{-# OPTIONS --rewriting --allow-unsolved-metas #-}
open import Generics.Prelude hiding (lookup)
open import Generics.HasDesc
open import Generics.Reflection
Expand Down Expand Up @@ -101,7 +101,7 @@ module Id where
idHasDesc = badconvert (testing Id)

postulate P : {A : Set} {x y : A} Id A x y Set

-- t : {A} {x y : A} (p : Id A x y) P p
-- t = elim″ idHasDesc P {!!}

Expand All @@ -114,5 +114,5 @@ module Test {ℓ} where
maybeHasDesc : HasDesc (Maybe {ℓ})
maybeHasDesc = badconvert (testing Maybe)
-}
1 change: 1 addition & 0 deletions tests.agda-lib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include: examples

0 comments on commit 980d3c2

Please sign in to comment.