From 98b73aaa67cc545a515f49ce6af25b0ec8c8c164 Mon Sep 17 00:00:00 2001 From: manishbhatt151yahoo <44540825+manishbhatt151yahoo@users.noreply.github.com> Date: Mon, 14 Jan 2019 01:27:05 +0530 Subject: [PATCH] Added link to F# tutorial (#30877) --- guide/english/fsharp/index.md | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/guide/english/fsharp/index.md b/guide/english/fsharp/index.md index ae406f041c..ba61a9a82d 100644 --- a/guide/english/fsharp/index.md +++ b/guide/english/fsharp/index.md @@ -2,28 +2,25 @@ title: F# --- -## F#  - +# F#  F# is a strongly typed language that inherit from the object oriented language (C#) but encourage a functional programmation. It runs on the .NET CLR, and can seamlessly inter-operate with C#. It is compatible with visual studio and is officialy supported by Microsoft. -#### Immutability - +## Immutability Variables in F# are by default immutable. That means that their values can't be changed after initialization. Mutability can be forced by the keyword "mut". One of the F# best practices is to just make a copy of the variable you want and change the values you need at the initialization of the newly created variable. -#### Records +## Records +F# can use objects, but it is encouraged to use Records instead. Records are a set of members, and can be seens as structs for people that comes from a C background. -F# can use objects but it is encouraged to use instead Records. Records are a set of members, and can be seens as structs for people that comes from a C background. +For example: -For example : - - +```fsharp type People = { Age: int FirstName: string LastName: string } - +``` -## Other Resources -* [F# Tutorial](https://www.tutorialspoint.com/fsharp/) +## Additional Resources +- [F# Tutorial](https://www.tutorialspoint.com/fsharp/)