diff --git a/advanced/part1/src/Viewer/Cred.elm b/advanced/part1/src/Viewer/Cred.elm index f3831f8..e80c7db 100644 --- a/advanced/part1/src/Viewer/Cred.elm +++ b/advanced/part1/src/Viewer/Cred.elm @@ -12,13 +12,14 @@ import Username exposing (Username) type alias Cred = - -- 👉 TODO make Cred an opaque type, then fix the resulting compiler errors. - -- Afterwards, it should no longer be possible for any other module to access - -- this `token` value directly! - -- - -- 💡 HINT: Other modules still depend on being able to access the - -- `username` value. Expand this module's API to expose a new way for them - -- to access the `username` without also giving them access to `token`. + {- 👉 TODO: Make Cred an opaque type, then fix the resulting compiler errors. + Afterwards, it should no longer be possible for any other module to access + this `token` value directly! + + 💡 HINT: Other modules still depend on being able to access the + `username` value. Expand this module's API to expose a new way for them + to access the `username` without also giving them access to `token`. + -} { username : Username , token : String }