Open
Description
In #1488 , I did not notice that Data.Char
defines a bunch of relations which, in other parts, are done in separate sub-modules. In particular, I suggest that
infix 4 _≈_ _≉_
_≈_ : Rel Char zero
_≈_ = _≡_ on toℕ
_≉_ : Rel Char zero
_≉_ = _≢_ on toℕ
infix 4 _≈ᵇ_
_≈ᵇ_ : (c d : Char) → Bool
c ≈ᵇ d = toℕ c ℕ.≡ᵇ toℕ d
infix 4 _<_
_<_ : Rel Char zero
_<_ = ℕ._<_ on toℕ
infix 4 _≤_
_≤_ : Rel Char zero
_≤_ = ReflClosure _<_
be moved to Data.Char.Properties.Base
and re-exported by Data.Char
(but not Data.Char.Base
).