AKAnkur Kashyapinthinkfunctionally.hashnode.dev·Mar 25, 2023 · 5 min readBasics 26 - Computation ExpressionsWhat are Computation Expressions? Computation Expressions (CE's) in F# are all about syntactic convenience. There are two different aspects: Using existing CEs: seq, query, async, task and lazy Building new/custom CEs, aka building CE builder types...00
AKAnkur Kashyapinthinkfunctionally.hashnode.dev·Mar 24, 2023 · 6 min readBasics 25 - Classes and InterfacesLearning-FSharp/Ch25-OOP-Classes/Program.fs Check out all the comments that are placed in the source file. The objective of this article is to give you an overview of classes and interfaces in F# through various examples. Before We Begin Throughout t...01R
AKAnkur Kashyapinthinkfunctionally.hashnode.dev·Mar 17, 2023 · 5 min readBasics 24 - Active Patternshttps://youtu.be/GPCOoB778DM This article is a continuation of Basics 09 - Pattern Matching (Basics). Learning-FSharp/Ch24-ActivePatterns/Program.fs Check out all the comments that are placed in the source file. Before We Begin Let's take a simple ...00
AKAnkur Kashyapinthinkfunctionally.hashnode.dev·Mar 11, 2023 · 3 min readBasics 23 - Types (Part 2) - Extending Typeshttps://youtu.be/7sNpvt8MUqg Learning-FSharp/Ch23-ExtendingTypes/Program.fs Check out all the comments that are placed in the source file. Extending Your Types Here's an example of a discriminated union with static and instance members: // Discrimi...02R
AKAnkur Kashyapinthinkfunctionally.hashnode.dev·Mar 11, 2023 · 4 min readBasics 22 - Inline Functionshttps://youtu.be/pHXPFHSFI00 A Simple Case... Not Really Let's take a simple example: let add x y = x + y let result = add 1 2 So far so good. We created a function named add. Since no type declarations are used, we assume that x, y and return va...02RC