| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Core algebraic definitions for module-like structures |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
-- The contents of this module should be accessed via `Algebra.Module` |
| 8 |
|
| 9 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 10 |
|
| 11 |
module Algebra.Module.Core where |
| 12 |
|
| 13 |
open import Level using (_⊔_) |
| 14 |
|
| 15 |
------------------------------------------------------------------------ |
| 16 |
-- Left and right actions |
| 17 |
|
| 18 |
Opₗ : ∀ {a b} → Set a → Set b → Set (a ⊔ b) |
| 19 |
Opₗ A B = A → B → B |
| 20 |
|
| 21 |
Opᵣ : ∀ {a b} → Set a → Set b → Set (a ⊔ b) |
| 22 |
Opᵣ A B = B → A → B |