evancz / guide.elm-lang.org

My book introducing you to Elm!
https://guide.elm-lang.org/
Other
321 stars 186 forks source link

URL parsing page misses Synthesis example #180

Open mpgirro opened 5 years ago

mpgirro commented 5 years ago

I am currently learning Elm through the guide (with a FP/Haskell/Scala background). It is great so far, but the page on WebApps > URL parsing misses the code example in the Synthesis section (current text is "TODO"). All in all this example seems quite essential to understand how to connect the URL parsing with a logic that decides how to render the respective page described by the URL segments.

I tried to understand the approach by looking at the source of guide.elm-lang.org and elm-spa-example, but both projects have different approaches and are still quite difficult to grasp for a beginner.

benkoshy commented 4 years ago

@mpgirro yes I came to post the very same issue.

Here is the link:

https://github.com/evancz/guide.elm-lang.org/blob/master/book/webapps/url_parsing.md

There is a to-do here, with the sections missing.

image

@evancz shall I attempt at a PR? (I have no idea about parsing etc. but I will attempt one if you will consider it)

FroshTheFrog commented 4 years ago

Hi, an update on this issue would be great.

pithub commented 1 year ago

Just found this: https://korban.net/posts/elm/2018-10-12-elm-guide-missing-part-url-handling-browser.application/