Hope last weeks talk was enjoyable. Back to our refactor of meownotes. Tackling some of the more _interesting_ parts of the new notes page. Things that I've been avoiding, like file upload, mostly because I knew I'd need to modify my model, Interop some things, **AND** deal with type Maybe.
Setup Interops with fileSelected outgoing
Setup Interops with fileRead incoming
function to read in file using FileReader API
take value and send it back as JSON
decode incoming data and pipe to update function, with pattern match on incoming data case
You need to account for the following values:
Add a branch to cover this pattern!