We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dcb1d1 commit d4409dbCopy full SHA for d4409db
README.md
@@ -1,5 +1,12 @@
1
# Monads in C++
2
3
+Some common monads are easy to implement in C++.
4
+
5
+Note that the implementations for 'Maybe' and 'Result' in this repository do _not_ strictly encapsulate the values.
6
+It is possible to check if there is a value in the Maybe, and unwrap it manually.
7
+Strictly speaking, this should not be allowed, and instead 'bind' or function lifting should be used to raise all functions into the monadic context.
8
+Since this is often non-trivial in C++, i.e. the possibility to manually unwrap the values has been left open.
9
10
## Getting started
11
12
1. Install dependencies
0 commit comments