Closed
Description
Having a util
namespace is an anti-pattern. Go through all the remaining types and functions in std::util
and either move them to std::prelude
or delete them outright.
15:28 < bstrie> though I'm sad that Noncopyable lives in a module named "util"
15:28 < bstrie> maybe we can find a better home for it
15:28 < strcat> prelude
15:28 < strcat> just shove it in prelude
15:28 < strcat> and swap/replace too
15:28 < bstrie> is that all that's left?
15:28 < strcat> no but the other stuff is pretty useless
15:28 < bstrie> haha
15:28 < strcat> id and ignore
15:28 < strcat> |x| x
15:29 < strcat> and .drop() being allowed explicitly could zap ignore
15:29 < strcat> or let _ = x; dropping immediately
15:29 < strcat> also Void, but we can put that in prelude