You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose that one has to use _+_, divMod, gcd, +-comm -- all for Nat.
One is forced to write
open import Data.Nat ...
open import Data.Nat.DivMod ...
open import Data.Nat.GCD ...
open import Data.Nat.Properties ...
But normally, of a common reason, it needs to be only open import Data.Nat using (_+_; divMod; gcd; +-comm).
A similar approach is desirable to other domain constructors: Integer, Bin, List, Maybe, and so on.
Can standard library organize this?
May be, to import Data.Nat.Properties to Data.Nat as public
(with hiding unneeded items)
-- ?