I want to use Superrecord to work with foreign data.
I need records Rec '["foo" := Int, "bar" := Float] and Rec '["bar" := Float, "foo" := Int] to be different, because they correspond to different C structs, but I can't even create Rec '["foo" := Int, "bar" := Float] because rcons sorts labels of its result record.
So, why do you need label sorting? Can the library work without it?
I want to use
Superrecordto work with foreign data.I need records
Rec '["foo" := Int, "bar" := Float]andRec '["bar" := Float, "foo" := Int]to be different, because they correspond to different C structs, but I can't even createRec '["foo" := Int, "bar" := Float]becauserconssorts labels of its result record.So, why do you need label sorting? Can the library work without it?