Skip to content

Commit

Permalink
Revert "Add syntax typeclass for types with carriers." (#907)
Browse files Browse the repository at this point in the history
This reverts commit a675929.

# Conflicts:
#	Cubical/README.agda
  • Loading branch information
felixwellen committed Aug 22, 2022
1 parent 22394b6 commit 3353e72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 23 deletions.
11 changes: 3 additions & 8 deletions Cubical/Foundations/Structure.agda
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module Cubical.Foundations.Structure where

open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Syntax.⟨⟩

private
variable
Expand All @@ -22,13 +21,9 @@ typ = fst
str : (A : TypeWithStr ℓ S) S (typ A)
str = snd

instance
TypeWithStr-has-⟨⟩ : {ℓ S} has-⟨⟩ (TypeWithStr {ℓ' = ℓ'} ℓ S)
⟨_⟩ ⦃ TypeWithStr-has-⟨⟩ ⦄ = typ

-- Allow users to avoid importing the syntax module directly for
-- backwards compatibility.
open import Cubical.Syntax.⟨⟩ using (⟨_⟩) public
-- Alternative notation for typ
⟨_⟩ : TypeWithStr ℓ S Type ℓ
⟨_⟩ = typ

-- An S-structure should have a notion of S-homomorphism, or rather S-isomorphism.
-- This will be implemented by a function ι : StrEquiv S ℓ'
Expand Down
3 changes: 0 additions & 3 deletions Cubical/README.agda
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,5 @@ import Cubical.Displayed.Everything
-- Various axioms and consequences
import Cubical.Axiom.Everything

-- Syntax typeclasses
import Cubical.Syntax.Everything

-- Automatic proving, solvers
import Cubical.Tactics.Everything
12 changes: 0 additions & 12 deletions Cubical/Syntax/⟨⟩.agda

This file was deleted.

0 comments on commit 3353e72

Please sign in to comment.