I often run into term "adjoin" when trying to understand some concepts. Those things are too abstract for me to understand as I'm neither expert in field nor category theory.
The simplest case I found is a Monoid Maybe a
instance which often behaves not as I would sometimes expect with regard to Nothing
.
From Wikipedia we can learn that by "adjoining" an element to a semigroup we can get a different Monoid
instance. I don't understand the sentence but the equations given suggest it's exactly what I need (and is not default for some reason):
Any semigroup S may be turned into a monoid simply by adjoining an element e not in S and defining e • s = s = s • e for all s ∈ S.
- Doe "adjoining" mean the same as "adding" at least in this case?
- Are there other simple examples of this concept?
- What would be simplest possible instance of something that is "left-adjoint"?