News for hackers. Stuff that matters.
Re:Code.nasa.gov by louthy on Tuesday March 10, 2015 @07:52AM (#9177195)
> I had no idea. That is crazy cool. Do you have any recommended resources for learning how this works behind the scenes?

http://fsharpforfunandprofit.com/posts/units-of-measure/

The units are lost at runtime and are used for static type checking only. So if you were to consume an F# lib from C# (for example) then you wouldn't have a such strong system. Hopefully one day they'll end up as part of the CLR so it can be enforced at runtime too.

There are no comments on this comment yet.