Skip to content

some useful tests to understand map and flatMap operations over functors and monads

License

Notifications You must be signed in to change notification settings

jfcorugedo/map-flatMap-training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

map-flatMap-training

Some useful tests to understand map and flatMap operations over functors and monads

Introduction

This project contains several test classes to practice with some of the most common reactive types.

Inside the folder rxjava you will find some exercise using RxJava reactive types.

Test classes inside ractor folder contains exercises to work with Reactive Types of Project Reactor.

You can also work with Scala futures using exercises inside scala folder.

There is another test class (WorkWithFuturesUsingMonadTransormerTest) to get used to the same operations but instead of using raw Scala futures, using the MonadTransformer object.

Finally, there is a practical exercise to use the monad transformer to combine several futures to get the final result: SummaryServiceTest and SummaryServiceImpl.

How to start

To start solving the tests, just download master branch and execute tests (using your IDE or mvn test).

If you have trouble solving a test and you're about to give up, you have all the tests solved inside the branch solved.

Good luck!!

About

some useful tests to understand map and flatMap operations over functors and monads

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages