RetroFed Forums
Your home away from modern life.
newtype - distinct type aliases for C#
Post Reply
AuthorMessage
tiger tiger tiger programming.dev jupiter@programming.dev
Joined: 2024-10-07
Quote

newtype, easy distrinct type aliases for C#

I made another oopsie, I mean, Open Sourcie. :3

Remember Haskell's newtype? Or F# type abbreviations?

Well, newtype is a package that lets you use similar semantics in #CSharp for a large number of types, including the ability to add semantics and extension-like methods to your own derived types.

MIT-Licensed, go wild!

https://github.com/outfox/newtype

https://www.nuget.org/packages/newtype

1   Original
Post Reply
Back to top