Hello,
I've done some digging into the benefits of having a signature file in your editor.
The FSharpChecker has a setting FSharpChecker.Create(enablePartialTypeChecking = true).
Rider enables this via:
| [Some 7; None; Some 6; Some 5] | |
| |> List.choose id | |
| // [7;6;5] |
| // Alias tuple | |
| type XmlAddition = | |
| | XmlElementAddition of parent: XPath * childNodeIndex:int * element: XElement | |
| | XmlTextAddition of parent:XPath * textContent: string | |
| | XmlAttributeAddition of node:XPath * attributeName:string * attributeValue:string |
| var vs = document.querySelectorAll("video"); for(let i = 0;i< vs.length;i++){ vs.item(i).playbackRate = 1.4; } |
| #load ".paket/load/main.group.fsx" | |
| printfn "Fable compiled this" |
| module GraphQL.Web | |
| open Microsoft.AspNetCore.Http | |
| open System.IO | |
| open Ronnies.Server.Schema | |
| open Microsoft.AspNetCore.Authentication.JwtBearer | |
| open Microsoft.AspNetCore.Authentication | |
| open FSharp.Data.GraphQL.Execution | |
| open Newtonsoft.Json | |
| open Newtonsoft.Json.Linq |
| module Hookrouter | |
| open Fable.Core | |
| open Fable.Core.JsInterop | |
| open Fable.React | |
| open Fable.React.Props | |
| open System.Text.RegularExpressions | |
| type InterceptedPath = | |
| string option |
| // #Regression #NoMono #NoMT #CodeGen #EmittedIL | |
| // Regression test for FSharp1.0:6389 - Nullary union cases improperly constrain generic type parameters | |
| type Weirdo = | C | |
| let f C = 0 // parameter name is C | |
| let g () = | |
| let C = 1 | |
| let f C = C // what is parameter name here? Do we even care? | |
| () |
| #r "nuget: JavaScriptEngineSwitcher.ChakraCore.Native.win-x64" | |
| #r "nuget: JavaScriptEngineSwitcher.ChakraCore, 3.18.2" | |
| #r "nuget: DartSassHost, 1.0.0-preview7" | |
| #r "nuget: FSharp.Control.Reactive, 5.0.5" | |
| open System | |
| open System.IO | |
| open DartSassHost | |
| open DartSassHost.Helpers | |
| open JavaScriptEngineSwitcher.ChakraCore |
| [<Test>] | |
| let ``compile FSharp.Core`` () = | |
| let args = [| | |
| @"-o:C:\Users\nojaf\Projects\fsharp\artifacts\obj\FSharp.Core\Debug\netstandard2.0\FSharp.Core.dll" | |
| "-g" | |
| "--debug:embedded" | |
| @"--embed:C:\Users\nojaf\Projects\fsharp\artifacts\obj\FSharp.Core\Debug\netstandard2.0\FSCore.fs" | |
| @"--embed:C:\Users\nojaf\Projects\fsharp\artifacts\obj\FSharp.Core\Debug\netstandard2.0\buildproperties.fs" | |
| @"--embed:C:\Users\nojaf\Projects\fsharp\artifacts\obj\FSharp.Core\Debug\netstandard2.0\FSharp.Core.AssemblyInfo.fs" | |
| @"--sourcelink:C:\Users\nojaf\Projects\fsharp\artifacts\obj\FSharp.Core\Debug\netstandard2.0\FSharp.Core.sourcelink.json" |
Hello,
I've done some digging into the benefits of having a signature file in your editor.
The FSharpChecker has a setting FSharpChecker.Create(enablePartialTypeChecking = true).
Rider enables this via: