fsharp-cheatsheet
fsharp-cheatsheet copied to clipboard
This cheatsheet aims to succinctly cover the most important aspects of F# 6.0.
These changes I hope will make it smoother going for the complete novice.
 (Thanks for the cheatsheet!)
Microsoft have moved their blogs around. The link needs to be updated to https://docs.microsoft.com/en-gb/archive/blogs/timng/f-quick-guides-object-oriented-programming. I've also made a copy of it in a [gist](https://gist.github.com/davidglassborow/7f40c016bf9dbd2b230fdb0f8a478ef5) in case they remove it forever.
The text should explain the use of the single quote here. ``` let squareNegateThenPrint' = square >> negate >> print ``` and here ``` collections implementing IEnumerable
On today's head, 48b8ac, build.cmd fails to find FAKE: ``` PS C:\dev\GitHub\fsharp-cheatsheet\tools> .\build.cmd Unable to find package 'FAKE'. The system cannot find the path specified. PS C:\dev\GitHub\fsharp-cheatsheet\tools> .nuget\nuget.exe install FAKE...
[Announcing F# 8](https://devblogs.microsoft.com/dotnet/announcing-fsharp-8/) - [TailCall Attribute](https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/functions/recursive-functions-the-rec-keyword#tail-recursion) - Property Shorthand - Nested record copy - Extended String Interpolation - and so on...
Maybe shadowing deserves an individual section? you used `open type` above for another reason, but for me a key thing that trips people up is how DU cases shadow others...
type...and needs to be added, and a link from Code Organization.Recursive Reference created. _Originally posted by @SpiralOSS in https://github.com/fsprojects/fsharp-cheatsheet/pull/25#discussion_r1384955186_
Optional Additional Class Constuctor and links from Code Organization section