| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Appending of lists using setoid equality |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 8 |
|
| 9 |
open import Relation.Binary.Bundles using (Setoid) |
| 10 |
|
| 11 |
module Data.List.Relation.Ternary.Appending.Setoid |
| 12 |
{c ℓ} (S : Setoid c ℓ) |
| 13 |
where |
| 14 |
|
| 15 |
open import Level using (_⊔_) |
| 16 |
open import Data.List.Base as List using (List) |
| 17 |
import Data.List.Relation.Ternary.Appending as General |
| 18 |
open Setoid S renaming (Carrier to A) |
| 19 |
|
| 20 |
------------------------------------------------------------------------ |
| 21 |
-- Definition |
| 22 |
|
| 23 |
Appending : List A → List A → List A → Set (c ⊔ ℓ) |
| 24 |
Appending = General.Appending _≈_ _≈_ |
| 25 |
|
| 26 |
------------------------------------------------------------------------ |
| 27 |
-- Re-export the basic combinators |
| 28 |
|
| 29 |
open General {A = A} {A} {A} public |
| 30 |
hiding (Appending) |