[elm-discuss] Suggested edit to Json.Decode docs

2016-11-16 Thread Max Goldstein
That's probably an oversight. Yes, docs for core should not reference a 
third-party library. 

-- 
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 https://groups.google.com/d/optout.


[elm-discuss] Suggested edit to Json.Decode docs

2016-11-16 Thread Wouter In t Velt
In the Json.Decode docs 
 I 
ran into unfamiliar functions in an example in the lazy 
 
section.

comment : Decoder Commentcomment =
  object Comment
|> required "message" string
|> required "responses" (map Responses (list (lazy (\_ -> comment


After some digging, I discovered that required function is in fact part of 
a different package: elm-decode-pipeline 

I do not know where the `object` function is from.

To save others a similar search, and to make things clearer, I would 
suggest to remove the `object` and `required` from the examples in the docs,
or make an explicit reference to the package(s) where the come from.

-- 
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 https://groups.google.com/d/optout.