C ++ Monad Library

Does anyone know a good monad template library in C ++. Perhaps the one that provides some of the usual monads that you see in Haskell, for example, is possible.

+4
source share
2 answers

You might want to check the header "monad.h" in FC ++. Read more about this in the "Monads" section on this page: http://people.cs.umass.edu/~yannis/fc++/New1.5/lambda.html#monad

However, this may not correspond to the actual industrial use - this is still a good exercise for implementing and using them in C ++.

+4
source

Something like Maybe can be found in Boost.Optional .

+5
source

All Articles