Hacker News new | ask | show | jobs
by louthy 2324 days ago
I have a code-gen for records and discriminated unions [1] (as well as other useful features). It will generate a record-type at build-time (which includes the background build process in VS). All that's needed is a [Record] or [Union] attribute:

[1] https://github.com/louthy/language-ext/wiki/Code-generation

1 comments

You just made my day. Not kidding. Thank you.