F#交互式shell(fsi)教程?

pro*_*eek 23 f# f#-interactive

我正在使用Mac OS X/mono上的fsi学习F#,但是很难知道退出和退出shell的命令.

退出,或^ D不起作用,^ C也不起作用.停止fsi的命令是什么?

一般来说,我在哪里可以找到关于fsi的教程/用户指南?

kvb*_*kvb 37

使用#help;;如需帮助,#quit;;戒烟.


Muh*_*uri 8

当我在OS X/mono中启动F#时,我得到以下内容

~> fsi

Microsoft (R) F# 2.0 Interactive build 2.0.0.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

For help type #help;;
Run Code Online (Sandbox Code Playgroud)

通过输入#help我得到:

> #help;;

  F# Interactive directives:

    #r "file.dll";;        Reference (dynamically load) the given DLL
    #I "path";;            Add the given search path for referenced DLLs
    #load "file.fs" ...;;  Load the given file(s) as if compiled and referenced
    #time ["on"|"off""];;  Toggle timing on/off
    #help;;                Display help
    #quit;;                Exit

  F# Interactive command line options:

      See 'fsi --help' for options


> 
Run Code Online (Sandbox Code Playgroud)

这些应该提供你的答案.