Typed data frames in D

monkyyy crazymonkyyy at gmail.com
Mon Aug 18 23:55:24 UTC 2025


On Monday, 18 August 2025 at 21:49:33 UTC, Marc wrote:
> On Sunday, 17 August 2025 at 01:24:51 UTC, Monkyyy wrote:
>> I don't think you should attempt to port a python data 
>> structure 1 to 1. I'd like to see a smarter data structure I'd 
>> suggest figuring out smarter filtering on statictyped data. 
>> There's hard problems before  mimicking a dymanic language 
>> will just add complexity.
>
> That’s why iam trying to make it with type information. But 
> it’s very restrictive I feel and some mutations which are 
> common when manipulating a data frame are hard to implement. 
> Maybe it can be implemented with a different more smarter 
> structure.

Such as? I dont like all the opinions that went into sumtype but 
I cant imagine it being impossible to store a 
`myarray!(sumtype!(int,float))` just working naturally


More information about the Digitalmars-d-learn mailing list