Urs Enzler · @UrsEnzler
66 followers · 37 posts · Server tooting.ch

RT @buhakmeh@twitter.com

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Need to group "like" things together?

๐Ÿคฏ Discriminated unions allow F# devs to group similar things in a logical type.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1521 posts · Server toot.cafe

RT @buhakmeh@twitter.com

๐Ÿ‘” Pattern matching is an essential part of F#

๐Ÿ‘ฉโ€๐Ÿซ Use pattern matching to create logical flows within your application.

@dotnet@twitter.com

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1521 posts · Server toot.cafe

RT @buhakmeh@twitter.com

๐Ÿ—‚ Organize your F# code by using Modules

๐Ÿ” This helps folks find and utilize code that you've written.

@dotnet@twitter.com

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1522 posts · Server toot.cafe

RT @buhakmeh@twitter.com

โ˜Ž๏ธ Recursive function calls are possible with F#.

๐Ÿค” Use the "rec" keyword to allow a function to reference itself.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1522 posts · Server toot.cafe

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.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1522 posts · Server toot.cafe

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.

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1522 posts · Server toot.cafe

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.

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1522 posts · Server toot.cafe

RT @buhakmeh@twitter.com

๐Ÿ’ฏ Numbers and sequences are awesome, right?!

๐Ÿงฎ Use the ".." operator to generate a sequence of integers.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1522 posts · Server toot.cafe

RT @buhakmeh@twitter.com

โœ๏ธ Need to define a function in ?

๐Ÿฅฌ F# lets us use the let keyword to do that!

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1522 posts · Server toot.cafe

RT @buhakmeh@twitter.com

๐Ÿงต strings are essential, even in functional languages.

๐Ÿ“ Either use format options or use F# string interpolation.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1522 posts · Server toot.cafe

RT @buhakmeh@twitter.com

๐Ÿค” Thinking about getting into ?

๐ŸŒŽ Here's your first "Hello, World" app.

Also follow @fsharporg@twitter.com for F# updates!

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1523 posts · Server toot.cafe

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.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1523 posts · Server toot.cafe

RT @buhakmeh@twitter.com

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Need to group "like" things together?

๐Ÿคฏ Discriminated unions allow F# devs to group similar things in a logical type.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1523 posts · Server toot.cafe

RT @buhakmeh@twitter.com

๐Ÿ‘” Pattern matching is an essential part of F#

๐Ÿ‘ฉโ€๐Ÿซ Use pattern matching to create logical flows within your application.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1523 posts · Server toot.cafe

RT @buhakmeh@twitter.com

๐Ÿ—‚ Organize your F# code by using Modules

๐Ÿ” This helps folks find and utilize code that you've written.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1523 posts · Server toot.cafe

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.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1523 posts · Server toot.cafe

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.

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1523 posts · Server toot.cafe

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.

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1523 posts · Server toot.cafe

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.

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago

Angel D. Muรฑoz โ˜• · @tunaxor
125 followers · 1523 posts · Server toot.cafe

RT @buhakmeh@twitter.com

๐Ÿงต strings are essential, even in functional languages.

๐Ÿ“ Either use format options or use F# string interpolation.

@dotnet@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/buhakmeh/status/15

#khalidtip #dotnet #fsharp

Last updated 3 years ago