| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Core algebraic definitions |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
-- The contents of this module should be accessed via `Algebra`. |
| 8 |
|
| 9 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 10 |
|
| 11 |
module Algebra.Core where |
| 12 |
|
| 13 |
open import Level using (_⊔_) |
| 14 |
|
| 15 |
------------------------------------------------------------------------ |
| 16 |
-- Unary and binary operations |
| 17 |
|
| 18 |
Op₁ : ∀ {ℓ} → Set ℓ → Set ℓ |
| 19 |
Op₁ A = A → A |
| 20 |
|
| 21 |
Op₂ : ∀ {ℓ} → Set ℓ → Set ℓ |
| 22 |
Op₂ A = A → A → A |