Created
September 20, 2016 16:50
-
-
Save svoynow/da173ddfe34f85f329e5a8bb85b36940 to your computer and use it in GitHub Desktop.
Brownbag notes
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
| - `git checkout explicit-types` | |
| - show more type errors possible w/ annotations | |
| - `git checkout hello-world` | |
| - show undefined error, type error (in editor, in browser) | |
| - `elm-repl` | |
| - Built-in Types | |
| - `git checkout explicit-types` | |
| - show more type errors possible w/ annotations | |
| - Lists | |
| - talk a little about type parameters / parametericity here | |
| - Tuples | |
| - Records | |
| - Type Inference | |
| - Functions | |
| - Modules | |
| - Types | |
| - more about parametricity here | |
| - Standard Lib | |
| - Maybe | |
| - map | |
| - andThen | |
| - Result | |
| - map | |
| - andThen | |
| - No Runtime Exceptions | |
| - compiler prevents type errors | |
| - nil errors | |
| - unhandled cases | |
| Pattern Matching and Destructuring | |
| - Building Web Apps - The Elm Architecture | |
| - `git checkout simple-counter` | |
| - show compiler catching unhandled Msg type | |
| - `git checkout more-counter` | |
| - Embedding your app in HTML | |
| - managed effects | |
| - side-effects | |
| - purity | |
| - Debug.log | |
| - Tasks | |
| - Subscriptions | |
| - Ports | |
| - Tasks, Cmds and HTTP | |
| - relation to callbacks | |
| - `git checkout json` | |
| - startup json-server | |
| - Can fail, but compiler makes you handle it... | |
| - Handling JSON | |
| Dealing with External Events - Subscriptions | |
| - Ports | |
| - your elm and js can subscribe to messages from each other | |
| - how does elm handle messages? through update | |
| - so you need to describe how to turn message from JS into an Elm message | |
| - how does js handle messages? with callbacks | |
| - so you need to fire off an async task from Elm to JS | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git checkout explicit-typesgit checkout hello-worldelm-replgit checkout explicit-typesPattern Matching and Destructuring
git checkout simple-countergit checkout more-countergit checkout jsonDealing with External Events - Subscriptions