RT @buhakmeh@twitter.com
๐จโ๐ฉโ๐งโ๐ฆ Need to group "like" things together?
๐คฏ Discriminated unions allow F# devs to group similar things in a logical type.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1590752230134759425
RT @buhakmeh@twitter.com
๐ Pattern matching is an essential part of F#
๐ฉโ๐ซ Use pattern matching to create logical flows within your application.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
RT @buhakmeh@twitter.com
๐ Organize your F# code by using Modules
๐ This helps folks find and utilize code that you've written.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
RT @buhakmeh@twitter.com
โ๏ธ Recursive function calls are possible with F#.
๐ค Use the "rec" keyword to allow a function to reference itself.
#fsharp @dotnet@twitter.com #dotnet #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1589665636807999494
RT @buhakmeh@twitter.com
๐ Collections may hold a subset of data we need.
๐ Find the values you need, using F#'s List.filter
๐ We can apply a function to a collection easily.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1589302172067454978
RT @buhakmeh@twitter.com
๐ Average? We're talking about numbers of course!
๐ Use List.average to determine the average value from a collection of numbers.
๐ฆ๐: https://twitter.com/buhakmeh/status/1588939658972598273
RT @buhakmeh@twitter.com
๐บ Maps are an important part of all functional languages.
๐ In F#, we can map a collection to a function to get a new collection.
๐ฆ๐: https://twitter.com/buhakmeh/status/1588577979692621825
RT @buhakmeh@twitter.com
๐ฏ Numbers and sequences are awesome, right?!
๐งฎ Use the ".." operator to generate a sequence of integers.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1588215701399080960
RT @buhakmeh@twitter.com
โ๏ธ Need to define a function in #fsharp?
๐ฅฌ F# lets us use the let keyword to do that!
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1587854579370233858
RT @buhakmeh@twitter.com
๐งต strings are essential, even in functional languages.
๐ Either use format options or use F# string interpolation.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1587491523402293250
RT @buhakmeh@twitter.com
๐ค Thinking about getting into #fsharp?
๐ Here's your first "Hello, World" app.
Also follow @fsharporg@twitter.com for F# updates!
๐ฆ๐: https://twitter.com/buhakmeh/status/1587129797205016576
I love this fkin feature and how F# is designed to play well with it
RT @buhakmeh@twitter.com
๐จโ๐ฉโ๐งโ๐ฆ Need to group "like" things together?
๐คฏ Discriminated unions allow F# devs to group similar things in a logical type.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1552339645110931456
RT @buhakmeh@twitter.com
๐จโ๐ฉโ๐งโ๐ฆ Need to group "like" things together?
๐คฏ Discriminated unions allow F# devs to group similar things in a logical type.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1552339645110931456
RT @buhakmeh@twitter.com
๐ Pattern matching is an essential part of F#
๐ฉโ๐ซ Use pattern matching to create logical flows within your application.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1551976661482192898
RT @buhakmeh@twitter.com
๐ Organize your F# code by using Modules
๐ This helps folks find and utilize code that you've written.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1551614603825713153
RT @buhakmeh@twitter.com
๐ Collections may hold a subset of data we need.
๐ Find the values you need, using F#'s List.filter
๐ We can apply a function to a collection easily.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1550889365404008448
RT @buhakmeh@twitter.com
๐ Average? We're talking about numbers of course!
๐ Use List.average to determine the average value from a collection of numbers.
๐ฆ๐: https://twitter.com/buhakmeh/status/1550528223733219328
RT @buhakmeh@twitter.com
๐บ Maps are an important part of all functional languages.
๐ In F#, we can map a collection to a function to get a new collection.
๐ฆ๐: https://twitter.com/buhakmeh/status/1550164839577767936
RT @buhakmeh@twitter.com
๐บ Maps are an important part of all functional languages.
๐ In F#, we can map a collection to a function to get a new collection.
๐ฆ๐: https://twitter.com/buhakmeh/status/1550164839577767936
RT @buhakmeh@twitter.com
๐งต strings are essential, even in functional languages.
๐ Either use format options or use F# string interpolation.
#fsharp #dotnet @dotnet@twitter.com #khalidtip
๐ฆ๐: https://twitter.com/buhakmeh/status/1549078157906567170