Compat.Statistics.mean conflicts with Base.mean in v0.6


#1

Is Compat package falling short of the expectation for making code work in both v0.6 and v0.7? Am I supposed to throw in another @static if block and import Statistics for v0.7?

$ julia

julia> VERSION
v"0.6.3"

julia> using Compat.Statistics

julia> mean
WARNING: both Statistics and Base export "mean"; uses of it in module Main must be qualified
ERROR: UndefVarError: mean not defined