我刚刚在另一台笔记本电脑上安装了 Visual Studio Code,然后继续获取 Ionide-fsharp 扩展。然后我尝试运行这段简单的代码:
open System
let rec factorial n =
if n = 0
then 1
else n * factorial (n - 1)
factorial 5
但是后来我收到了这个错误,我似乎无法修复它:
open: the term 'open' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling on the name,
of if a path was included, verify that the path is correct and try again.
然后它继续向我抛出一堆废话,并为我之后编写的每一行代码重复上述错误。请帮忙。