Re:PlsExplain: A small dynamic programming language where ev...
by sparsely on Monday August 23, 2021 @07:41AM
(#28274408)
F# does exactly this, except it understands the rules of units cancelling etc.
[ Parent
| on HN ]
Re:PlsExplain: A small dynamic programming language where ev...
by Anunayj on Monday August 23, 2021 @11:31AM
(#28277383)
Woah 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?
Re:PlsExplain: A small dynamic programming language where ev...
by sparsely on Thursday August 26, 2021 @09:55AM
(#28314964)
F# 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-refe...