This commit is contained in:
Miloslav Ciz 2024-02-17 10:47:29 +01:00
parent d52544f211
commit 2c60dc3a2e
22 changed files with 1722 additions and 1663 deletions

View file

@ -1,6 +1,6 @@
# Monad
{ This is my poor understanding of a monad. ~drummyfish }
{ This is my poor understanding of a monad. I am not actually sure if it's correct lol :D TODO: get back to this. ~drummyfish }
Monad is a [mathematical](math.md) concept which has become useful in [functional programming](functional.md) and is one of the very basic [design patterns](design_pattern.md) in this paradigm. A monad basically wraps some [data type](data_type) into an "envelope" type and gives a way to operate with these wrapped data types which greatly simplifies things like error checking or abstracting [input/output](io.md) side effects.