andrew-johnson-4 / lambda-mountain

Typed Macro Assembler (x86, HTML, CSS, lots of things)
https://andrew-johnson-4.github.io/lambda-mountain/
MIT License
17 stars 0 forks source link

Generic struct equality comparison #757

Open andrew-johnson-4 opened 5 hours ago

andrew-johnson-4 commented 5 hours ago

If all struct fields are known, then deep equality can be derived.

andrew-johnson-4 commented 5 hours ago

How would this work for discriminated unions?

new annotation: TagCases<case1,case2,case3>