fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
F# properties tagged with `CLIEvent` attribute are [compiled to CLI events](https://sharplab.io/#v2:DYLgZgzgNAJiDUAfALgTwA4FMAEAVAFAJTYC8AsAFDbXYD092AggHbaYBumzyAdJTdgDaAHgDCAGQCSAUU7cAfAF1+NALaZVAI0wAnbAA8e00tlldkwgJYKiPAAoBXTcEsQAFpUpA===) instead of properties, however XmlDoc id mentions such events as properties anyway: ```fsharp type T() = /// An event....
Hi, The complexity (time and/or space) is missing for all these functions : https://github.com/dotnet/fsharp/blob/129aa5fb902ca7a43f48c53d12d2d6277258f8bb/src/fsharp/FSharp.Core/list.fs#L766-766 in the documentation: https://fsharp.github.io/fsharp-core-docs/reference/fsharp-collections-listmodule.html#insertAt
It's difficult to analyze the tree node sources in the tests: A possible fix and other options suggestions have been discussed in #13403.
### Issue description A method of implementing INotifyPropertyChanged by publishing an Event now seems impossible to make compile cleanly (?) ```F# namespace Nullness open System.ComponentModel type XViewModel() = let propertyChanged...
**Repro steps** ```fs [] type BigInteger) : System.Numerics.BigInteger = Unchecked.defaultof ``` **Expected behavior** The code should be either parsed as valid, defining a refined type with additional usable members, or...
Consider these signature and implementation files: ```fsharp module Module val g: c: (int * int) -> unit ``` ```fsharp module Module let g (a, b) = a + b |>...
Please accept my apologies if this is a known issue, or not reproducible. **Repro steps** Use Visual Studio to create a new .NET 6.0 F# class library. Modify the default...
**Is your feature request related to a problem? Please describe.** I think this is best explained by showing you why I ended up making this suggestion. I was fixing some...
```fsharp type R = struct {| S: string |} ``` Expected: this works Actual: 
Inconsistent parenthesization requirements for single-argument additional constructors (with `new`)
A single-argument additional constructor (i.e., a non-primary constructor declared with `new`) must have parentheses around its argument only if it is followed by another additional constructor. **Repro steps** 1. Define...