invenia / Wrangling.jl

Wrangle your data into shape. Deals with Columns and Files and Lags and Cattle.
MIT License
1 stars 0 forks source link

flexible `in` that works for symbols or strings #12

Open oxinabox opened 4 years ago

oxinabox commented 4 years ago

like in #3 we want a version of in that lets accepts both strings and symbols.

I don't want to call it in as that is too much type piracy #4 so flexible_in or something. converting_in

oxinabox commented 4 years ago

if we wanted to make this more general than just strings and symbols then having https://github.com/JuliaLang/julia/issues/35102 would simplify this a bit, but can work without it.

oxinabox commented 4 years ago

@nickrobinson251 says this is a bad idea in the first place, and one should know if one is dealing with symbols or strings.

I am inclinded to agree