I think that this has 2 purposes:
- These functions compile down to exactly 1 CIL instruction which has to be encoded somewhere, so encoding at the source seems best.
- It allows for some extra trickery with defining polymorphic
Add
functions in a high performance way which is hard with the F# type system.
You can actually use this but you have to specify the --compiling-fslib
(undocumented) and --standalone
flags in your code.