Re: [elm-discuss] Re: Nested JSON decoder issue

2016-09-14 Thread suttlecommakevin
A little late, but James Moore has posted his WIP 'Elm: Beyond the Basics' course, which seems to cover this scenario. http://courses.knowthen.com/courses/elm-beyond-the-basics/lectures/1463861 -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group.

Re: [elm-discuss] Re: Nested JSON decoder issue

2016-09-04 Thread Charlie Koster
Oh sweet. I guess that makes sense since := is an infix function. I guess I'm surprised that the compiler didn't say anything. Precedence issues usually end up sending the wrong things to functions in my experience. Anyway, I appreciate the help! -- You received this message because you are

Re: [elm-discuss] Re: Nested JSON decoder issue

2016-09-04 Thread Peter Damoc
It looks like a precedence problem in yer decoders redditJsonResponseDecoder : Decoder RedditJsonResponse redditJsonResponseDecoder = object2 RedditJsonResponse ("kind" := string) ("data" := object1 (\children -> { children = children }) ("children"

[elm-discuss] Re: Nested JSON decoder issue

2016-09-04 Thread Charlie Koster
Any by "array" I mean "list" -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit