I downloaded the zip binaries and tried to run version 4.0 on macOS. Initially, I get the same error as you (could not find BigInteger ). This can be fixed by adding the -I command line argument, but then I got another error, and I'm still not sure what to do about it:
fsmac:fsharp4 tomas$ mono Fsi.exe -I:/Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/4.0/ Microsoft (R) F# 2.0 Interactive build 4.0.30319.1 Copyright (c) Microsoft Corporation. All Rights Reserved. For help type #help;; > error FS0192: internal error: unreachable: GetGlobals
EDIT Here is another attempt (failed attempt). This looks like a Mono error, because the UnsafeLoadFrom method does not seem to exist in Mono (runtime 4.0). At least I don't see this in the MonoDevelop IDE in C # projects (when changing the runtime to 4.0)
fsmac:fsharp4 tomas$ mono --runtime=v4.0.30319 Fsi.exe --noframework -r:/Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/4.0/mscorlib.dll -r:FSharp.Core.dll Microsoft (R) F# 2.0 Interactive build 4.0.30319.1 Copyright (c) Microsoft Corporation. All Rights Reserved. For help type #help;; > Missing method System.Reflection.Assembly::UnsafeLoadFrom(string) in assembly /Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/4.0/ mscorlib.dll, referenced in assembly /Users/tomas/Programs/fsharp4/ FSharp.Compiler.dll
source share