GithubHelp home page GithubHelp logo

codemash-fsharpws's Introduction

Functional F# Programming in .NET โ€“ A success story

Do you want to learn F# and Functional Programming? Well, you better start coding! Learning a new programming language is not easy, on top of reading a lot you need to practice even more. This workshop is designed to teach you some of the basics of F# and Functional Programming by combining theory (slides) and practice. As software becomes more complex, it is imperative to structure it well, to ensure that it is easy to write, debug, and provides a collection of modules that can be reused to reduce future programming costs. Functional Programming has been around for a while, but it is gaining popularity, especially due to direct support in languages on the JVM and the CLR. Writing code in functional style is not about syntax, it is a paradigm shift. In this presentation, using examples in F# and C#, you will learn how to write code in functional style. We will start out discussing the elements of functional programming and then look at examples of some common operations and how you can implement those in functional style

This workshop is designed to teach you some of the basics of F# and Functional Programming by combining theory

(exercises)

(slides)

Modules

The course is split into 4 modules, each of them contains a presentation (theory) and one exercise (practice).

Module 1

  • Bindings
  • Functions
  • Tuples
  • Records

Module 2

  • High order functions
  • Pipelining
  • Partial application
  • Composition

Module 3

  • Options
  • Pattern matching
  • Discriminated unions
  • Units of measure

Module 4

  • Functional lists
  • Object Expression
  • DSL

Module 5

  • Async computation
  • Agent programming
  • Parallel Web-Crawler

Pre-requisites

.NET Core Sdk 2.0 or higher

Your favorite IDE, you can pick one of the following:

Visual Studio Code

with these extensions:

  • C# extension

  • Ionide-fsharp extension

Rider (Jetbrains)
Visual Studio 19
Visual Studio for Mac

codemash-fsharpws's People

Contributors

rikace avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

naunga lostguid

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.