Documentation
Case Studies
Support
Team
|
|
|
Infer.NET user guide :
Fun
Getting started with Fun
The Fun related
documents of this Infer.NET installation consist of:
- A folder,
Bin, containing the Infer.NET compiler, runtime, and Fun dlls.
- A folder, Samples\Fun, containing a series of example F#
projects and scripts.
- A folder, Documentation\Fun Interfaces, containing fsi files
for the Fun APIs.
To run the QuickStart.fsx script:
- Open the Samples\Fun\Examples2010.sln file with Visual
Studio 2010.
- Open QuickStart.fsx in the 1 QuickStart Scripts folder.
- Type Ctrl-Alt-F to start F# interactive.
- Reselect the QuickStart.fsx buffer, and type Ctrl-A to select the
whole buffer.
- Type Alt-Enter to send the buffer to F# interactive for execution.
To run the simplest Fun project:
- Open the Samples\Fun\Examples2010.sln file with Visual
Studio 2010.
- Right click the Coins project, and select "Set as startup
project".
- Click Control-F5 to run the startup project, which records its output in the
command line.
- You can read and modify the code of the example in Coins.fs in
the Coins project.
- You can read about the example (and some of the others) in the tutorial
section (two
coins tutorial)
Enjoy!
|
false,false,1
|
|
|
|