Extend types to code composition #1203
Xyncgas
started this conversation in
Type System
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just like we can build functions with functions, we can build types with types
Often we have structure in codes we write, for every feature it's following these structure
What if we can functionstypespatterns (code) inside types
oh that's an object with every member static
What if I want the signature of these members to be different so I can say type C and type B both have member ToString but one returns integer instead
oh that's a templated programming
I wish there is much more in f#
Beta Was this translation helpful? Give feedback.
All reactions