Skip to content

jpaulorio/monads-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practical Monads Examples (in C# and Scala)

What's in this repo?

This repo contains examples of how Monads can be leveraged on both Scala and C# programming languages.

That said, this is by no means meant to be a comprehensive list of Monads applications.

My goal is to shed some light on how some languages can take advantage of Monads to allow for a more composable, concise and cleaner code.

Those examples are based on the following articles:

https://codewithstyle.info/understand-monads-linq/

https://weblogs.asp.net/dixin/category-theory-via-c-sharp-21-more-monad-writer-monad

Examples in this repo:

  • Option Monad

  • Writer Monad

About

Examples of Monads in C# and Scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors