Skip to content

Commit d970306

Browse files
committed
review-2
1 parent f5f496c commit d970306

13 files changed

+46
-46
lines changed

learn-pr/language/fsharp-first-steps/4-set-up-development-environment-exercise.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Set up your F# development environment
44
metadata:
55
unitType: exercise
66
title: "Exercise - Set up your F# development environment"
7-
description: "Install the .NET SDK, Visual Studio Code, and Ionide F# extension to develop your F# applications"
7+
description: "Install the .NET SDK, Visual Studio Code, and Ionide F# extension for developing your F# application."
88
ms.date: 02/22/2023
99
author: baronfel
1010
ms.author: chethusk

learn-pr/language/fsharp-first-steps/6-write-your-first.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Write your first line of F# code
44
metadata:
55
unitType: exercise
66
title: "Exercise - Write your first line of F# code"
7-
description: "Use F# Interactive to print Hello World to the console"
7+
description: "Use F# Interactive to print Hello World to the console."
88
ms.date: 02/22/2023
99
author: baronfel
1010
ms.author: chethusk

learn-pr/language/fsharp-first-steps/7-fsharp-build-application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Create F# applications
44
metadata:
55
unitType: learning-content
66
title: "Create F# applications"
7-
description: "Overview of .NET templates and how they can help you build your first F# application"
7+
description: "Overview of .NET templates and how they can help you build your first F# application."
88
ms.date: 02/22/2023
99
author: baronfel
1010
ms.author: chethusk

learn-pr/language/fsharp-first-steps/8-build-your-first.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Create your first F# application
44
metadata:
55
unitType: exercise
66
title: "Exercise - Create your first F# application"
7-
description: "Create an F# application to print out a message to a text console"
7+
description: "Create an F# application to print a message to a text console."
88
ms.date: 02/22/2023
99
author: baronfel
1010
ms.author: chethusk

learn-pr/language/fsharp-first-steps/9-summary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Summary
44
metadata:
55
unitType: summary
66
title: "Summary"
7-
description: "In this module you set up your F# development environment, wrote your first line of F# code, and built your first F# application"
7+
description: "In this module you set up your F# development environment, wrote your first line of F# code, and built your first F# application."
88
ms.date: 02/22/2023
99
author: baronfel
1010
ms.author: chethusk

learn-pr/language/fsharp-first-steps/includes/3-fsharp-development-environment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
F# has access to world-class tooling. Whether it's a lightweight text editor or an IDE, you have choices when it comes to choosing your tools. However, at a minimum, you need the .NET SDK to start writing F# code.
1+
F# has access to world-class tooling. Whether it's a lightweight text editor or an IDE, you have choices when it comes to choosing your tools. However, at a minimum, you need the .NET SDK to start writing F# code.
22

33
## .NET SDK
44

@@ -14,8 +14,8 @@ The .NET SDK is free and cross-platform, which means you can install it on Windo
1414

1515
You can use any text editor to write F# code. However, Visual Studio Code is a free, open-source, and cross-platform text editor that is lightweight but also offers the following features to take your development workflow to the next level:
1616

17-
- **Debugging:** Visual Studio Code's built-in debugger helps accelerate your edit, compile and debug loop.
18-
- **Version control:** Visual Studio Code has integrated source control management (SCM) and includes Git support built-in to help you keep track of your code as it changes.
17+
- **Debugging:** Visual Studio Code's built-in debugger helps accelerate your edit, compile, and debug loop.
18+
- **Version control:** Visual Studio Code integrates source control management (SCM) and includes Git support built-in to help you keep track of your code as it changes.
1919
- **Integrated terminal:** Visual Studio Code includes a fully featured integrated terminal, which makes it easy to work with the .NET CLI from inside the editor.
2020
- **Extensions:** Extend the functionality of Visual Studio Code using extensions.
2121

learn-pr/language/fsharp-first-steps/includes/4-set-up-development-environment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ In this exercise, set up your F# development environment by installing the .NET
55
To get started writing code with F#, install the .NET SDK.
66

77
1. [Download and install .NET SDK](https://dotnet.microsoft.com/download/dotnet) for your operating system.
8-
1. Verify that the .NET SDK has installed successfully
9-
1. Open the terminal
8+
1. Verify that the .NET SDK is installed successfully.
9+
1. Open the terminal.
1010
1. Enter the following .NET CLI command
1111

1212
```dotnetcli
@@ -16,7 +16,7 @@ To get started writing code with F#, install the .NET SDK.
1616
1. The following output is similar to what displays in the console. Your version might be different, but as long as the version information is output to the console, it means everything is installed correctly.
1717
1818
```console
19-
5.0.302
19+
9.0.201
2020
```
2121
2222
## Install Visual Studio Code & Ionide F# extension

learn-pr/language/fsharp-first-steps/includes/5-fsharp-interactive.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ F# Interactive command line options:
4949
See 'dotnet fsi --help' for options
5050
```
5151

52-
The end of an expression is delimited by the `;;` characters. No code is evaluated until you input the `;;` characters. This structure is useful when writing multi-line expressions since your code isn't delimited by new line characters.
52+
The `;;` characters delimit the end of an expression. No code is evaluated until you input the `;;` characters. This structure is useful when writing multi-line expressions since your code isn't delimited with new line characters.
5353

5454
Evaluating F# code works the same way. The following code prints a message to the console.
5555

@@ -74,7 +74,7 @@ After you use the F# Interactive REPL, use the `#q` or `#quit` commands to exit.
7474
> #q;;
7575
```
7676

77-
## fsx script files
77+
## F# script files
7878

7979
As you write more code, you can save your code in a script with the *fsx* file extension.
8080

learn-pr/language/fsharp-first-steps/includes/6-write-your-first.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
In this exercise, we write our first line of F# code, which prints the message **Hello World** to the console.
1+
In this exercise, we write our first F# code, which prints the message **Hello World** to the console.
22

33
## Start F# Interactive
44

5-
1. Open a command prompt
6-
1. Enter the following .NET CLI command into the command prompt
5+
1. Open a command prompt.
6+
1. Enter the following .NET CLI command into the command prompt:
77

88
```dotnetcli
99
dotnet fsi
@@ -20,9 +20,9 @@ In this exercise, we write our first line of F# code, which prints the message *
2020
>
2121
```
2222
23-
## Write your first line of code
23+
## Write your first F# code
2424
25-
Add the following line of code next to the `>` character in the F# Interactive terminal
25+
Add the following line of code next to the `>` character in the F# Interactive terminal:
2626
2727
```fsharp
2828
printfn "Hello World!";;
@@ -35,7 +35,7 @@ Hello World!
3535
val it : unit = ()
3636
```
3737

38-
Congratulations! You've written your first line of F# code!
38+
Congratulations! You wrote your first line of F# code!
3939

4040
## (Optional) Write a script
4141

learn-pr/language/fsharp-first-steps/includes/7-fsharp-build-application.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
At this point, you've used the REPL and maybe even created an *fsx* script file. Now you're at the point where your application has grown so you need to include more files, and the ability to package and distribute your application. To do so, you need to create a project. The .NET SDK provides various project templates to help you get started building all types of applications.
1+
At this point, you used the Read-Evaluate-Print-Loop (REPL) and maybe even created a *fsx* script file. Now you're at the point where your application is growing and you need to include more files. You also want the ability to package and distribute your application. To do so, you need to create a project. The .NET SDK provides various project templates to help you get started building all types of applications.
22

33
## What are .NET Templates?
44

@@ -10,11 +10,11 @@ When you install the .NET SDK, you receive over a dozen built-in templates for c
1010
- ASP.NET Core web apps
1111
- Configuration files
1212

13-
F# has support for various templates, everything from testing and web to class libraries. For a full list of supported projects, run `dotnet new -l` at the console.
13+
F# has support for various templates, everything from testing and web projects to class libraries. For a full list of supported projects, run `dotnet new -l` at the console.
1414

1515
## Create an application using templates
1616

17-
To create a new application, use the `dotnet new` .NET CLI command. For example, if you want to create an F# console application, you'd use the following command.
17+
To create a new application, use the `dotnet new` .NET CLI command. For example, if you want to create an F# console application, you use the following command.
1818

1919
```fsharp
2020
dotnet new console --language F# -o MyFSharpApp
@@ -31,7 +31,7 @@ After a few seconds, a directory called *MyFSharpApp* appears with the code for
3131
There are two files in the *MyFSharpApp* directory:
3232

3333
- **Program.fs** - The entrypoint for your application.
34-
- **MyFSharpApp.fsproj** - MSBuild project file that contains build information and instructions. MSBuild is a platform for building applications that provides an XML schema for a project file that controls how the build platform processes and builds software.
34+
- **MyFSharpApp.fsproj** - The MSBuild project file that contains build information and instructions. MSBuild is a platform for building applications that provides an XML schema for a project file that controls how the build platform processes and builds software.
3535

3636
The *Program.fs* file contains the following code:
3737

@@ -59,7 +59,7 @@ The `main` function is the entry point of the application. It uses the `from` fu
5959

6060
## Build an application
6161

62-
Now that you've created a console application, it's time to build it using the `dotnet build` command. The `dotnet build` command builds the project and its dependencies into a set of binaries. The binaries include the project's code in Intermediate Language (IL) files with a *.dll* extension. Depending on the project type and settings, other files might be included, such as:
62+
Now that your console application is created, it's time to build it using the `dotnet build` command. The `dotnet build` command builds the project and its dependencies into a set of binaries. The binaries include the project's code in Intermediate Language (IL) files with a *.dll* extension. Depending on the project type and settings, other files might be included, such as:
6363

6464
- An executable that you can use to run the application, if the project type is an executable targeting .NET Core 3.0 or later.
6565
- Symbol files used for debugging with a *.pdb* extension.

0 commit comments

Comments
 (0)