3 ms·
F# does exactly this, except it understands the rules of units cancelling etc.
by sparsely 5y ago
F# does exactly this, except it understands the rules of units cancelling etc.
- Anunayj 5y agoWoah TIL. I've been looking for a similar language, something that I can do Physics in without having to worry about units/constants. Till now I've used WolframAlpha or just Google. Do you think F# is suited for this, or do you suggest other alternatives?
- sparsely 5y agoF# definitely has the most complete implementation that I've seen, I'm sure other languages would let you hack something together though. https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/units-of-measure https://docs.microsoft.com/en-us/dotnet/fsharp/language-refe...