elm / url

Build and parse URLs. Useful for HTTP and "routing" in single-page apps (SPAs)
https://package.elm-lang.org/packages/elm/url/latest/
BSD 3-Clause "New" or "Revised" License
75 stars 43 forks source link

Add a function for parsing all remaining path segments. #31

Open EdSchouten opened 5 years ago

EdSchouten commented 5 years ago

Having an operation like this is useful for cases where you need to forward/process arbitrary requests for a certain path prefix. While there, make a tiny cleanup to the parser by removing an unused field in the parser state.

Fixes: #9

bmillwood commented 3 years ago

ah, I noticed the same thing as you with the unused visited field and made #50 before I realized it was here as well.