-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi!
I've written a small package based on Julia 0.7 that does very similar things to this one. It's targeted more towards NamedTuples
than general struct
in order to support data tables (basically, a DataFrame
could then be converted into an Array
of NamedTuples
stored as NamedTuple
of Arrays
), but I think it should be reasonably easy to combine the two functionalities.
Using Julia 0.7 there are a few goodies available, so I'm using NamedTuples
rather than Tuples
to store the arrays corresponding to the various fields (though I plan on supporting both options) and the field arrays can be accessed with dot overloading. You can checkout the package here, it's definitely not 100% ready but there's enough functionality implemented to get an idea.
If you think that's a good idea, I'd be happy to start maintaining this package instead and create a Julia v0.7 branch where I can develop the new ideas (NamedTuples + dot overloading + implementing some other array operations). Unless you have planned new features for Julia 0.6 I think the development could be pretty much Julia 0.7 targeted.
Cheers,
Pietro