Quantcast
Channel: User Tarmil - Stack Overflow
Viewing all articles
Browse latest Browse all 39

Answer by Tarmil for Why got "expected class or object definition" in very simple prog in f#

$
0
0

On Unix, fsc is the Scala compiler, not F#.

Given how old Expert F# 4.0 is, I assume it suggested installing mono; in this case, the F# compiler is fsharpc.

If you have the dotnet SDK instead, then the F# compiler is not directly available as a command, instead you need to use dotnet build with a .fsproj file.


Viewing all articles
Browse latest Browse all 39

Trending Articles