Replies: 2 comments 6 replies
-
If this is possible at the FSI level then it should be fairly simple to support in Polyglot Notebooks. @vzarytovskii any thoughts on that? |
Beta Was this translation helpful? Give feedback.
-
F# in notebooks should already be preview mode of F#: The version of F# included in notebooks main branch is : 43.7.200 which is 5 months old. interactive/Directory.Build.targets Line 38 in d0fb7fd The latest release is somewhat more recent: Notebooks should probably update to 43.7.300 which is also in the latest VS RTM release ... and the VSCode preview version would ideally be on 43.8.100-preview.23327.15 |
Beta Was this translation helpful? Give feedback.
-
I am trying to take advantage of an F# feature that is in the preview version. The feature is setting static members on interfaces. I was told that to get this preview version on the command line, I could do
dotnet fsi --langversion:preview
. Is there a way to do this with Polyglot Notebooks?I am trying to define an interface that requires this sort of declaration, and I'd love to do it in a notebook rather than in a project.
Note: I am not entirely clear what is meant by "preview" version of F#. I have the latest .NET 8 preview installed, but I can only get this feature in FSI if I run the above command.
I searched and see this #1408, so it appears that maybe it's not possible, but I wanted to make sure.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions