I'm learning F# with fsi on Mac OS X/mono, but it's hard to know what command to quit and out to shell.
quit, or ^D doesn't work, ^C also doesn't work. What's the command to to stop the fsi?
In general, where can I find some tutorial/user's guide about fsi?
Use #help;;
for help, #quit;;
to quit.
When I start F# in OS X/mono I get the following
~> fsi
Microsoft (R) F# 2.0 Interactive build 2.0.0.0
Copyright (c) Microsoft Corporation. All Rights Reserved.
For help type #help;;
By typing #help
I get:
> #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
>
These should provide your answers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With