guide.elm-lang.org
guide.elm-lang.org copied to clipboard
URL parsing page misses Synthesis example
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.
@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.
@evancz shall I attempt at a PR? (I have no idea about parsing etc. but I will attempt one if you will consider it)
Hi, an update on this issue would be great.
Just found this: https://korban.net/posts/elm/2018-10-12-elm-guide-missing-part-url-handling-browser.application/