Functional Programming in C# with Categories (The Course)
Minimum price
Suggested price

Functional Programming in C# with Categories

Course Info

This course includes 1 attempt.

NOTE: The Full Book:" Functional Programming in C# with Categories" is provided FREE with the current course.

This is a Video Lectures course that covers the outline of the book "Functional Programming in C# with Categories"

You can take a look at the GitHub repository of the course here CourseFunctionalCSharpWithCategories

This course includes- 1 hour on-demand video

What you'll learn

  • Core Functional concepts like Functors ,Monoids, Monads, Folding , Maybe Monad, Try Monad. Either Monad and more
  • Better understanding of Extension Methods, Func Delegates, Anonymous Functions, Local functions, ValueTuples
  • Classic Functional Techniques like Currying and Partial application and more
  • Functional Programming concepts for C# with all the latest C#8.0 features
  • The theory behind modern functional programming
  • Introductory Category theory and how it relates to Functional programming
  • Advance C# Linq Features that allows our classes to use native LINQ syntax like Select, SelectMany, Where


  • You should atleast have atleast a couple of years of experience developing with C#


As the C# becomes more and more functional, in 2019 C# developers have to be familiar with the functional paradigm.

The purpose of this course is to give you a deep dive into the world of functional programming, by presenting it's methods and techniques through the lenses of the object-oriented paradigm.

Many people think that Functional programming in C# is Just LINQ. In this course, I assume that you know the basics of LINQ. We will go beyond LINQ. We will explore some of the concepts that are common knowledge in Functional Languages, like Haskell and Scala and start gaining popularity in Object-oriented languages like JavaScript.

Do you think Everything is a Function or you mostly believe that Everything is an Object?

In this book we will take a closer look at some of the most popular Functional techniques and Patterns from a C# point of view:

  • Functors
  • Monads
  • Maybe /Option Monad
  • Either Monad
  • Task as Monad
  • Try Monad
  • IO Functor
  • Lazy<T> as Functor
  • Nullable as Functor
  • and more

This course, even small in scale, aims to present how some of the mathematical concepts of Category theory that have emerged in those two different programming paradigms. The concepts are applicative (pun intended) in many other programming languages like JavaScript, Java, Scala, F# or even Haskell.

Who this course is for:

  • C# developers who want to have an initial understanding of Category Theory in programming
  • Intermediate and Advanced C# developers who want to know about Functional programming and category theory
  • Functional Programmers in F# or Haskell that want to get an easier transition in C#


Course Material

  • Free Copy of the Accompanying C# Book
  • Video Lesson One: Functors
  • Video Lesson Two: Extending Lazy<T> to a Functor
  • Video Lesson Three: Extending Task<T> to a Functor
  • Video Lesson Four: Extending Func<T> to a Functor
  • Video Lesson Five: Extending Nullable<T> to a Functor
  • Video Lesson Six: Monads - What is a Monad
  • Video Lesson Seven: Maybe as Functor
  • Video Lesson Eight: Maybe as Monad
  • Lesson Nine: Maybe Monad Example
  • Video Lesson Ten: Either
  • Video Lesson Eleven: Either Monad
  • Video Lesson Twelve: Either Monad Example
  • Video Lesson Thirteen: Making Task a Monad
  • Video Lesson Fourteen: Task Monad Example


Do Well. Do Good.

Authors have earned$10,782,676writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF, EPUB and/or MOBI files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub