https://github.com/arturwincenciak/teomonad
  
  
    My personal exercises monads in C # language. 
    https://github.com/arturwincenciak/teomonad
  
monads
        Last synced: 16 days ago 
        JSON representation
    
My personal exercises monads in C # language.
- Host: GitHub
 - URL: https://github.com/arturwincenciak/teomonad
 - Owner: ArturWincenciak
 - License: mit
 - Created: 2016-04-23T14:05:58.000Z (over 9 years ago)
 - Default Branch: master
 - Last Pushed: 2016-04-24T20:27:55.000Z (over 9 years ago)
 - Last Synced: 2025-03-27T11:44:34.098Z (7 months ago)
 - Topics: monads
 - Language: C#
 - Homepage:
 - Size: 21.5 KB
 - Stars: 0
 - Watchers: 1
 - Forks: 0
 - Open Issues: 0
 - 
            Metadata Files:
            
- Readme: README.md
 - License: LICENSE
 
 
Awesome Lists containing this project
README
          # TeoMonad
My personal exercises monads in C # language using 'NUnit' and 'Fake It Easy' background.
'Monad' class contains real monad. 'StrangeMonad' class contains evolution form just extended method to generic extended method and later to monad implemented in 'Monad' class.
There are:
* With
* Do
* If
* Log
monads.
I created a sample set of classes in BuildingFactory for testing monads. 
In the beginning of each test class:
* Do_MonadTest, 
* If_MonadTest, 
* Log_MonadTest, 
* With_MonadTest
there is an old, ordinary and ugly solution and then new beautiful monad fix.
Inspired: https://blogs.claritycon.com/blog/2013/08/functional-concepts-c/