User.elm

July 17, 2014 ยท View on GitHub

-- when someone wants to use our widget -- they don't need to know any facts about anything!

import Update (step) import Model (initialize) import View (view)

-- nothing gives access to any details, and things -- will work as they need to. One trick here is to -- make sure the view function takes a (Handle Action) -- as an argument such that it can be wired up later.