guide.elm-lang.org icon indicating copy to clipboard operation
guide.elm-lang.org copied to clipboard

URL parsing page misses Synthesis example

Open mpgirro opened this issue 5 years ago • 3 comments

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 avatar Dec 10 '18 19:12 mpgirro

@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)

benkoshy avatar Apr 19 '20 02:04 benkoshy

Hi, an update on this issue would be great.

FroshTheFrog avatar Jun 04 '20 22:06 FroshTheFrog

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

pithub avatar Aug 24 '23 15:08 pithub