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
{{ message }}
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.
I was spent some time getting more familiar with the NamedTuples code and I think the best way to have this package be both Julia 0.6 and 0.7 compatible would be to:
Remove some of the NamedTuples.jl features that aren't supported in 0.7 (e.g. getindex(::NamedTuple, ::AbstractVector) -> NamedTuple)
Make abstract type NamedTuple end in 0.6 be abstract type NamedTuple{K, V<:Tuple} end to be more consistent with 0.7. With this change we should also be able to deprecate the @NT(a::Int64, b::Float64) and @NT( a, b )( 1, "hello") syntax.
The text was updated successfully, but these errors were encountered:
I was spent some time getting more familiar with the NamedTuples code and I think the best way to have this package be both Julia 0.6 and 0.7 compatible would be to:
getindex(::NamedTuple, ::AbstractVector) -> NamedTuple
)abstract type NamedTuple end
in 0.6 beabstract type NamedTuple{K, V<:Tuple} end
to be more consistent with 0.7. With this change we should also be able to deprecate the@NT(a::Int64, b::Float64)
and@NT( a, b )( 1, "hello")
syntax.The text was updated successfully, but these errors were encountered: