File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed
Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,8 @@ module Generic.Examples.Data.Lift where
22
33open import Generic.Main as Main hiding (Lift; lift; lower)
44
5- -- `readData Main.Lift` doesn't work, because of the same issue with implicits.
6-
7- postulate
8- whatever : {A : Set } -> A
9-
105Lift : ∀ {α} β -> Set α -> Set (α ⊔ β)
11- Lift β A = μ′ $ packData ( quote Main.Lift) whatever whatever ((A ⇒ pos) ∷ []) ( quote Main.lift , tt)
6+ Lift β = readData Main.Lift
127
138pattern lift x = !#₀ (relv x , lrefl)
149
Original file line number Diff line number Diff line change 11# Generic
22
3- It's a library for doing generic programming in Agda. The repository is under reconstruction currently.
3+ It's a library for doing generic programming in Agda.
44
55# A quick taste
66
@@ -140,14 +140,6 @@ inj = gcoerce foldD
140140 (appDef (quote _⊔_)
141141 (explRelArg (pureVar 5) ∷ explRelArg (pureVar 6) ∷ [])))))
142142 -- consTypes
143- (implDPi ℕ
144- (λ rx →
145- explDPi (B (unrelv rx))
146- (λ rx₁ →
147- explDPi (List ℕ)
148- (λ rx₂ →
149- explDPi A (λ rx₃ → var (unrelv rx , unrelv rx₁ , unrelv rx₂)))))
150- ∷
151143 (implRelDPi ℕ
152144 (λ rx →
153145 explRelDPi (B (unrelv rx))
You can’t perform that action at this time.
0 commit comments