2010-10-10 20 views
22

Estoy aprendiendo F # con fsi en Mac OS X/mono, pero es difícil saber qué comando dejar y desactivar.F # interactive shell (fsi) tutorial?

salir, o^D no funciona,^C tampoco funciona. ¿Cuál es el comando para detener el fsi?

En general, ¿dónde puedo encontrar alguna guía de usuario/tutorial sobre fsi?

+0

Si tiene dos preguntas, es mejor preguntarlas por separado. – Joren

Respuesta

35

Use #help;; para obtener ayuda, #quit;; para salir.

7

Cuando comienzo en F # OS X/mono me sale el siguiente

~> fsi 

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

For help type #help;; 

Al escribir #help me sale:

> #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 


> 

Estos deben proporcionar sus respuestas.

Cuestiones relacionadas