Skip to content

Commit 30743d1

Browse files
committed
Revert "Update fsharp-interactive.md"
This reverts commit b088fbe.
1 parent b088fbe commit 30743d1

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

docs/docs/examples/fsharp-interactive.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,17 @@ F# Interactive (FSI) is a powerful tool for executing F# code snippets and scrip
1010
2. **Add ModularPipelines to your script:** You can add ModularPipelines as a package reference in your F# script. At the top of your `example.fsx`, add the following line:
1111

1212
```fsharp
13-
1413
#r "nuget: ModularPipelines, 3.*"
15-
1614
```
1715
1816
Alternatively, you can specify a specific version:
1917
2018
```fsharp
21-
2219
#r "nuget: ModularPipelines, 3.2.8"
23-
2420
```
2521
3. **Write your F# code:** Below the package reference, you can write your F# code using ModularPipelines. Here’s a simple example that uses ModularPipelines to check the dotnet version:
2622
2723
```fsharp
28-
2924
#r "nuget: ModularPipelines.DotNet, 3.*"
3025
open ModularPipelines.DotNet
3126
open ModularPipelines.Attributes
@@ -60,14 +55,11 @@ F# Interactive (FSI) is a powerful tool for executing F# code snippets and scrip
6055
builder.Build().RunAsync()
6156
|> Async.AwaitTask
6257
|> Async.RunSynchronously
63-
6458
```
6559
4. **Run your F# script:** You can run your F# script using the F# Interactive environment. If you are using Visual Studio, you can simply open the `example.fsx` file and execute it. Alternatively, you can run it from the command line using:
6660
6761
```powershell
68-
6962
dotnet fsi example.fsx
70-
7163
```
7264
## Additional Notes
7365

0 commit comments

Comments
 (0)