Difference between revisions of "Don't fear the Monad"
Line 23: | Line 23: | ||
=A [[Monoid]] is a set of things, that follows one rule, where that one rule, in turn follows some (custom defined) rules ...(start at | =A [[Monoid]] is a set of things, that follows one rule, where that one rule, in turn follows some (custom defined) rules ...(start at 1265)= | ||
Create a generic '''compatibility operator''', that allows you to create anything in your set of types, ... that are guaranteed to be in the same type, ... functions through composition, ... if one follows this discipline (of being monorail), that you cannot make mistake of creating types that are not the same. | Create a generic '''compatibility operator''', that allows you to create anything in your set of types, ... that are guaranteed to be in the same type, ... functions through composition, ... if one follows this discipline (of being monorail), that you cannot make mistake of creating types that are not the same. | ||
{{#ev:youtube|ZhuHCtR3xq8|||| | {{#ev:youtube|ZhuHCtR3xq8|||| | ||
|start= | |start=1265&end=1300}} |
Revision as of 07:28, 27 July 2021
Universality:You can convert any function into a table lookup... , and the function is just data (start at 355)
{{#ev:youtube|ZhuHCtR3xq8|||| |start=355&end=365}}
Monad in terms of Functions, Monoids, Monads...(starting at 455)
{{#ev:youtube|ZhuHCtR3xq8|||| |start=472&end=500}}
Monoid is the way to build complexity from simplicity...(start at 1010)
Simple in Brian's terms means small. I assume this means a smaller vocabulary, in the monoidal case, only one type, so in the size of type vocabulary, it is small. {{#ev:youtube|ZhuHCtR3xq8|||| |start=1010&end=1080}}
Monoid helps to guarantee you to build a software with one and only one type ...(start at 1126)
Create a generic compatibility operator, that allows you to create other functions through composition, ... if one follows this discipline (of being monorail), that you cannot make mistake of creating types that are not the same. {{#ev:youtube|ZhuHCtR3xq8|||| |start=1126&end=1230}}
Monoid helps to guarantee you to build a software with one and only one type ...(start at 1126)
Create a generic compatibility operator, that allows you to create anything in your set of types, ... that are guaranteed to be in the same type, ... functions through composition, ... if one follows this discipline (of being monorail), that you cannot make mistake of creating types that are not the same. {{#ev:youtube|ZhuHCtR3xq8|||| |start=1126&end=1230}}
A Monoid is a set of things, that follows one rule, where that one rule, in turn follows some (custom defined) rules ...(start at 1265)
Create a generic compatibility operator, that allows you to create anything in your set of types, ... that are guaranteed to be in the same type, ... functions through composition, ... if one follows this discipline (of being monorail), that you cannot make mistake of creating types that are not the same. {{#ev:youtube|ZhuHCtR3xq8|||| |start=1265&end=1300}}