-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Create comprehensive F# 8 What's New documentation from blog post #50100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: T-Gro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that you have written and verified (good!!) the code samples in separate files, cannot the blog maybe refer to them as files instead of duplicating the content?
I think this blog post has a syntax for file includes (while maintaining rendering those fsharp code)
Co-authored-by: T-Gro <[email protected]>
Done! I've refactored the article to use file includes with the Added region markers to all 8 snippet files and updated the markdown to reference them using Commit: 19df838 |
Summary
Replaces the stub
fsharp-8.md(which only linked to the blog post) with comprehensive documentation covering all F# 8 features. Content adapted from the official F# 8 announcement.Code examples use file includes (
::: codesyntax) to reference verified snippet files, following documentation best practices and avoiding code duplication.Fixes #45635
Documentation Coverage
_.Property), nested record updates,while!, extended string interpolation, arithmetic in literals, type constraint intersection, extended fixed bindingsCode Examples
Created 8 verified F# script examples in
snippets/fsharp-8/with region markers for targeted includes:_.Propertysyntax (regions: Types, Before, After, Standalone)$for interpolation levels (regions: Before, After, Template)All examples tested with
dotnet fsi --langversion:8.0. The markdown file uses:::code language="fsharp" source="..." id="...":::syntax to include code from these files, ensuring maintainability and single source of truth.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Internal previews