是否可以使用.net core运行.fsx文件? (等效于Mono上的fsharpi
。)
最佳答案
它可以在.NETCore v3.0或更高版本中直接使用:
$ cat hello.fsx
#!/usr/bin/env fsharpi
printfn "hello world"
$ dotnet fsi hello.fsx
hello world
$ dotnet --version
3.0.100
关于.net-core - 您可以使用.net core运行F#脚本文件(.fsx)吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43044999/