Skip to content

Commit a6debe0

Browse files
committed
review-3
1 parent d970306 commit a6debe0

14 files changed

+22
-17
lines changed

learn-pr/language/fsharp-first-steps/1-introduction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
unitType: introduction
66
title: "Introduction"
77
description: "What is F# and what can you build with it?"
8-
ms.date: 02/22/2023
8+
ms.date: 03/26/2025
99
author: baronfel
1010
ms.author: chethusk
1111
ms.topic: unit

learn-pr/language/fsharp-first-steps/2-what-is-fsharp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
unitType: learning-content
66
title: "What is F#?"
77
description: "F# is an open-source, cross-platform programming language that makes it easy to write succinct, performant, robust, and practical code"
8-
ms.date: 02/22/2023
8+
ms.date: 03/26/2025
99
author: baronfel
1010
ms.author: chethusk
1111
ms.topic: unit

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
unitType: learning-content
66
title: "F# development environment"
77
description: "Overview of tools to help you build F# applications"
8-
ms.date: 02/22/2023
8+
ms.date: 03/26/2025
99
author: baronfel
1010
ms.author: chethusk
1111
ms.topic: unit

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
@@ -5,7 +5,7 @@ metadata:
55
unitType: exercise
66
title: "Exercise - Set up your F# development environment"
77
description: "Install the .NET SDK, Visual Studio Code, and Ionide F# extension for developing your F# application."
8-
ms.date: 02/22/2023
8+
ms.date: 03/26/2025
99
author: baronfel
1010
ms.author: chethusk
1111
ms.topic: unit

learn-pr/language/fsharp-first-steps/5-fsharp-interactive.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
unitType: learning-content
66
title: "What is F# Interactive?"
77
description: "Learn what F# Interactive is and how you can use it to evaluate code and scripts in real-time"
8-
ms.date: 02/22/2023
8+
ms.date: 03/26/2025
99
author: baronfel
1010
ms.author: chethusk
1111
ms.topic: unit

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
@@ -5,7 +5,7 @@ metadata:
55
unitType: exercise
66
title: "Exercise - Write your first line of F# code"
77
description: "Use F# Interactive to print Hello World to the console."
8-
ms.date: 02/22/2023
8+
ms.date: 03/26/2025
99
author: baronfel
1010
ms.author: chethusk
1111
ms.topic: unit

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
@@ -5,7 +5,7 @@ metadata:
55
unitType: learning-content
66
title: "Create F# applications"
77
description: "Overview of .NET templates and how they can help you build your first F# application."
8-
ms.date: 02/22/2023
8+
ms.date: 03/26/2025
99
author: baronfel
1010
ms.author: chethusk
1111
ms.topic: unit

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
@@ -5,7 +5,7 @@ metadata:
55
unitType: exercise
66
title: "Exercise - Create your first F# application"
77
description: "Create an F# application to print a message to a text console."
8-
ms.date: 02/22/2023
8+
ms.date: 03/26/2025
99
author: baronfel
1010
ms.author: chethusk
1111
ms.topic: unit

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

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

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dotnet fsi
1313
Starting F# Interactive launches you into a read-evaluate-print-loop (REPL) session where you can write your F# code and immediately evaluate its output in the console.
1414

1515
```fsharp
16-
Microsoft (R) F# Interactive version 11.4.2.0 for F# 5.0
16+
Microsoft (R) F# Interactive version 13.9.201.0 for F# 9.0
1717
Copyright (c) Microsoft Corporation. All Rights Reserved.
1818
1919
For help type #help;;
@@ -40,8 +40,10 @@ F# Interactive directives:
4040
#load "file.fs" ...;; // Load the given file(s) as if compiled and referenced
4141
#time ["on"|"off"];; // Toggle timing on/off
4242
#help;; // Display help
43+
#help "idn";; // Display documentation for an identifier, e.g. #help "List.map";;
4344
#r "nuget:FSharp.Data, 3.1.2";; // Load Nuget Package 'FSharp.Data' version '3.1.2'
4445
#r "nuget:FSharp.Data";; // Load Nuget Package 'FSharp.Data' with the highest version
46+
#clear;; // Clear screen
4547
#quit;; // Exit
4648
4749
F# Interactive command line options:
@@ -61,10 +63,10 @@ The evaluated output is:
6163

6264
```console
6365
Hello World!
64-
val it : unit = ()
66+
val it: unit = ()
6567
```
6668

67-
The first line displays the output from the evaluated code while the second line displays output's type information. In this case, the value output to the console is of type `unit`, which is represented by the `()` token and bound to the `it` name. You can access the `it` value later on in your program if you want to perform more operations.
69+
The first line displays the output from the evaluated code while the second line displays the type information of the output. In this case, the value (`val`) output to the console is of type `unit`, which is represented by the `()` token and bound to the `it` name. You can access the `it` value later on in your program if you want to perform more operations.
6870

6971
## Exiting the REPL
7072

0 commit comments

Comments
 (0)