JuliaLang / Compat.jl

Compatibility across Julia versions
Other
145 stars 117 forks source link

Support `round`/`trunc`/`ceil`/`floor` for `Bool` #798

Closed mtfishman closed 1 year ago

mtfishman commented 1 year ago

round/trunc/ceil/floor for Bool was introduced in Julia 1.8 (https://github.com/JuliaLang/julia/pull/25085), it would be nice to add support in Compat for that.

Related to https://github.com/oxinabox/LayeredLayouts.jl/pull/26.