Microsoft will release an upgrade to the F# "functional first" language, which will include new language capabilities and support for .Net Core, an open source version of the .Net programming framework.
Microsoft's Visual FSharp team says F# version 4.1 will focus on programmer flexibility and incremental improvements, such as struct tuples and Visual C# 7 and Visual Basic interoperability. Tuples are a data structure that is able to store a sequence of data of fixed sizes and can return multiple values, and struct tuples improve performance when multiple tuples are in use in a short period of time.
The team says version 4.1 will feature a struct records capability, which will enables record to share struct performance characteristics without any other type changes. Single-case struct unions also will be enabled to wrap a primitive type for domain modeling. Error messages will be enhanced to suggest fixes using information contained in the compiler.
Other improvements the team expects include fixed keyword capabilities, mutually referential types and modules within the same file, and support for editing and compiling .Net Core and .Net Framework projects.
View Full Article
Abstracts Copyright © 2016 Information Inc., Bethesda, Maryland, USA