F#
More info
- Type
- Programming language
- Released
- 2005
- Creator
- Don Syme, Microsoft Research
- License
- MIT
- Platform
- .NET
A functional-first language on .NET, built by the same person who got generics into C#.
Don Syme pushed generics through into CLR 2.0 and then built an ML language on top of the same runtime. F# came out of Microsoft Research in 2005 and became a first-class product language in Visual Studio 2010. The syntax descends from OCaml: the pipeline operator |>, pattern matching, discriminated unions and immutability by default.
Two features are genuinely its own. Type providers generate types at compile time straight from an external data source, so a SQL table or a JSON schema becomes statically typed with no code-generation step in the build. Units of measure let the compiler reject metre + second. The language never got big, but a great deal of what later showed up in C# — records, pattern matching, expression-oriented syntax — was tried here first.