Debian Codegraph @

src/Algebra/Operations/Semiring.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- This module is DEPRECATED.
5 ------------------------------------------------------------------------
6
7 {-# OPTIONS --cubical-compatible --safe #-}
8
9 -- Disabled to prevent warnings from deprecated
10 -- Algebra.Operations.CommutativeMonoid
11 {-# OPTIONS --warning=noUserWarning #-}
12
13 open import Algebra
14 import Algebra.Operations.CommutativeMonoid as MonoidOperations
15
16 module Algebra.Operations.Semiring {s₁ s₂} (S : Semiring s₁ s₂) where
17
18 {-# WARNING_ON_IMPORT
19 "Algebra.Operations.Semiring was deprecated in v1.5.
20 Use Algebra.Properties.Semiring.(Mult/Exp) instead."
21 #-}
22
23 open Semiring S
24
25 ------------------------------------------------------------------------
26 -- Re-exports
27
28 open MonoidOperations +-commutativeMonoid public
29 open import Algebra.Properties.Semiring.Exp S public
30 open import Algebra.Properties.Semiring.Mult S public
31 using (×1-homo-*)