Skip to content

Commit

Permalink
Merge branch 'main' into ferences
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamparter authored Nov 5, 2024
2 parents 952be7a + 30839a4 commit 74f9c3d
Show file tree
Hide file tree
Showing 5 changed files with 536 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/core/whats-new/dotnet-9/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,26 @@ C# 13 ships with the .NET 9 SDK and includes the following new features:

For more information, see [What's new in C# 13](../../../csharp/whats-new/csharp-13.md).

## F# 9

F# 9 ships with the .NET 9 SDK and includes the following new features:

- Nullable reference types
- Discriminated union .Is* properties
- Partial active patterns can return bool instead of unit option
- Prefer extension methods to intrinsic properties when arguments are provided
- Empty-bodied computation expressions
- Hash directives are allowed to take non-string arguments
- Extended #help directive in fsi to show documentation in the read-eval-print loop (REPL)
- Allow #nowarn to support the FS prefix on error codes to disable warnings
- Warning about TailCall attribute on non-recursive functions or let-bound values
- Enforce attribute targets
- Random functions for collections
- C# collection expression support for F# lists and sets
- Various developer productivity, performance and tooling improvements

For more information, see [What's new in F# 9](../../../fsharp/whats-new/fsharp-9.md).

## Windows Presentation Foundation

Windows Presentation Foundation (WPF) includes support for Windows 11 theming and hyphen-based ligatures. For more information, see [WPF in .NET 9 Preview 4 - Release Notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview4/wpf.md).
Expand Down
Binary file added docs/fsharp/media/whats-new/fsharp-9/help.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/fsharp/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ items:
href: tutorials/using-functions.md
- name: What's new
items:
- name: F# 9
href: whats-new/fsharp-9.md
- name: F# 8
href: whats-new/fsharp-8.md
- name: F# 7
Expand Down
Loading

0 comments on commit 74f9c3d

Please sign in to comment.