Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //BASIC PIECES, 3 functions: unit, bind and the bind argument | |
| //function unit(value) | |
| //function bind(monad, function(value)) | |
| //all three functions return a monad | |
| /* The unit function is a constructor (returns a monad object) | |
| * The magic is in the bind function | |
| * | |
| * There are AXIOMS: | |
| * bind(unit(value)), f) === f(value) |