Elm Language Debugging Piping a Debug.log


At run time the following would display a list of url in your console and continue computation

payload =
    [{url:..., title:...}, {url=..., title=...}]

main = 
        |> List.map .url -- only takes the url
        |> Debug.log " My list of URLs" -- pass the url list to Debug.log and return it
        |> doSomething -- do something with the url list