- Learning F# Functional Data Structures and Algorithms
- Adnan Masood Ph.D.
- 255字
- 2021-07-16 14:10:48
Your first F# project
Going through installation screens and showing how to click Next would be discourteous to our reader's intelligence. Therefore we will skip step-by-step installation for other more verbose texts. Let's start with our first F# project in Visual Studio.

In the preceding screenshot, you can see the F# interactive window at the bottom. Here we have selected FILE | New | Project because we are attempting to open a new project of F# type. There are a few project types available, including console applications and F# library. For ease of explanation, let's begin with a Console Application as shown in the next screenshot:

Alternatively, from within Visual Studio, we can use FSharp Interactive. FSharp Interactive (FSI) is an effective tool for testing out your code quickly. You can open the FSI window by selecting View | Other Windows | F# Interactive from the Visual Studio IDE as shown in the next screenshot:

FSI lets you run code from a console which is similar to a shell. You can access the FSI executable directly from the location at c:\Program Files (x86)\Microsoft SDKs\F#\<version>\Framework\<version>\
.
FSI maintains session context, which means that the constructs created earlier in the FSI are still available in the later parts of code.
The FsiAnyCPU.exe
executable file is the 64-bit counterpart of F# interactive; Visual Studio determines which executable to use based on the machine's architecture being either 32-bit or 64-bit. You can also change the F# interactive parameters and settings from the Options dialog as shown in the following screenshot:

- C++程序設(shè)計教程
- Spring Boot開發(fā)與測試實(shí)戰(zhàn)
- OpenDaylight Cookbook
- Python量化投資指南:基礎(chǔ)、數(shù)據(jù)與實(shí)戰(zhàn)
- 體驗(yàn)設(shè)計原理:行為、情感和細(xì)節(jié)
- 數(shù)據(jù)結(jié)構(gòu)簡明教程(第2版)微課版
- Python進(jìn)階編程:編寫更高效、優(yōu)雅的Python代碼
- 青少年學(xué)Python(第1冊)
- Orleans:構(gòu)建高性能分布式Actor服務(wù)
- Bootstrap for Rails
- 數(shù)據(jù)分析與挖掘算法:Python實(shí)戰(zhàn)
- Hack與HHVM權(quán)威指南
- Python Social Media Analytics
- Getting Started with Windows Server Security
- 跟小樓老師學(xué)用Axure RP 9:玩轉(zhuǎn)產(chǎn)品原型設(shè)計