rtfeldman / elm-in-action

Resources for the Elm In Action book.
166 stars 33 forks source link

Unnecessary import in 8.2.2 #49

Open kantuni opened 4 days ago

kantuni commented 4 days ago

The string import is unnecessary (in the Defining a Parser section) as Parser.string is used in the rest of the code.

import Url.Parser as Parser exposing ((</>), Parser, s, string)

should be

import Url.Parser as Parser exposing ((</>), Parser, s)

This import is also present in Listing 8.4.