F#
11.18'24
F# 是函数优先的编程语言。 F#
is a functional-first programming language.
Learn
Run F# in MacOS
-
Install .Net SDK
-
Run F# file
Create a file called
hello.fsx
printfn "Hello World from F#"
Now compile and run this F# script
dotnet fsi hello.fsx
Debug in visual studio
Add breakpoint
- Select
Debug
- Add breakpoint
- Check
Locals
window
Add Output log
System.Diagnostics.Debug.WriteLine window.className
Check Output
window
📖