Thanks for answering. How to do this replacement? In Todo.elm Parser appears in many places:
In import:
import Navigation exposing (Parser)
Line 325:
main : Program Flags
main =
Navigation.programWithFlags urlParser
{ urlUpdate = urlUpdate
, view = view
, init = init
, update = update
, subscriptions = subscriptions
}
and at line 356:
urlParser : Parser (Maybe String)
urlParser =
Navigation.makeParser (fromUrl << .hash)
how to transform these bits of code?