Change comment style
This commit is contained in:
@@ -12,13 +12,14 @@ import Username exposing (Username)
|
|||||||
|
|
||||||
|
|
||||||
type alias Cred =
|
type alias Cred =
|
||||||
-- 👉 TODO make Cred an opaque type, then fix the resulting compiler errors.
|
{- 👉 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
|
Afterwards, it should no longer be possible for any other module to access
|
||||||
-- this `token` value directly!
|
this `token` value directly!
|
||||||
--
|
|
||||||
-- 💡 HINT: Other modules still depend on being able to access the
|
💡 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
|
`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`.
|
to access the `username` without also giving them access to `token`.
|
||||||
|
-}
|
||||||
{ username : Username
|
{ username : Username
|
||||||
, token : String
|
, token : String
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user