Skip to content

Fsi Session Module for PowerShell #20050

Description

@tahir-hassan

I think it would be a great idea to have a PowerShell module for running F# scripts. I was following the tutorial Embedding F# Interactive, and I have written a simple PowerShell module FsiSession, which would be used as such:

$session = New-FsiSession
Invoke-FsiSession $session -Path Sample.fsx
Invoke-FsiSession $session -Expression Sample.twenty

(With Sample.fsx containing the line let twenty = 10 + 10.)

dotnet fsi when running an .fsx file was taking too long each time, so I wrote this module.

I genuinely believe that having a module like this in PSGallery, officially maintained, would be a great alternative to using dotnet fsi raw because the startup time is too long.

Thank you for your time.

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Feature.

    Projects

    Status
    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions