| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Patterns used in the reflection machinery |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 8 |
|
| 9 |
module Reflection.AST.Pattern where |
| 10 |
|
| 11 |
------------------------------------------------------------------------ |
| 12 |
-- Re-exporting the builtin type and constructors |
| 13 |
|
| 14 |
open import Agda.Builtin.Reflection public using (Pattern) |
| 15 |
open Pattern public |
| 16 |
|
| 17 |
------------------------------------------------------------------------ |
| 18 |
-- Re-exporting definitions that used to be here |
| 19 |
|
| 20 |
open import Reflection.AST.Term public |
| 21 |
using ( proj-injective ) |
| 22 |
renaming ( pat-con-injective₁ to con-injective₁ |
| 23 |
; pat-con-injective₂ to con-injective₂ |
| 24 |
; pat-con-injective to con-injective |
| 25 |
; pat-var-injective to var-injective |
| 26 |
; pat-lit-injective to lit-injective |
| 27 |
; _≟-Patterns_ to _≟s_ |
| 28 |
; _≟-Pattern_ to _≟_ |
| 29 |
) |