Re: [elm-discuss] Passing decoding results to another decoder in 0.18.0

2016-11-16 Thread Kk Kruups
Hi Tim,

For an in depth discussion on Json Decode you might want to refer to 
article on Medium about Json Decode API and Json Decode Pipeline API.

https://medium.com/@kkruups/elm-insights-c74047637206#.phhn8xvml


I would love to get your feedback on the article.

Kkruups

On Wednesday, November 16, 2016 at 8:06:26 PM UTC+9, Tim Bezhashvyly wrote:
>
> Thanks!
>
> On Wednesday, November 16, 2016 at 12:04:21 PM UTC+1, Janis Voigtländer 
> wrote:
>>
>> "fieldName" := Json.list anotherDecoder becomes field "fieldName" 
>> (Json.list anotherDecoder)
>> ​
>>
>> 2016-11-16 11:44 GMT+01:00 Tim Bezhashvyly :
>>
>>> Sorry if I'm asking something obvious but with changes to Json.Decode in 
>>> 0.18.0 I'm not quite sure how to pass results of one decoder to another.
>>>
>>> So in 0.17.1 it was:
>>>
>>> decoder : Json.Decoder SomeType
>>> decoder =
>>>  Json.object1 identity
>>>  ("feildName" := Json.list anotherDecoder)
>>>
>>> object1 becomes map,  "feildName" := Json.list becomes field 
>>> "fieldName" Json.list. Just not sure about anotherDecoder.
>>>
>>> Thank you.
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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] Re: Suggested edit to Json.Decode docs

2016-11-16 Thread Kk Kruups
Hi Wouter,

You might want to check out the article on Medium about Json Decode and 
Json Decode Pipeline API for in depth info on these API.

https://medium.com/@kkruups/elm-insights-c74047637206#.phhn8xvml

BR/Kkruups


On Wednesday, November 16, 2016 at 9:09:06 PM UTC+9, Wouter In t Velt wrote:
>
> 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.


Re: [elm-discuss] Welcome feedback on article about JSON Decoding Posted on Medium

2016-11-16 Thread Kk Kruups
Hi Duane,

Thanks for the tip. I have already updated with code blocks.

Should be an easier read now! :)

BR/

On Thursday, November 17, 2016 at 11:39:11 AM UTC+9, Duane Johnson wrote:
>
> If you'd like to clean up the code blocks, apparently `Cmd+6` does the 
> trick on medium.com:
>
>
> https://help.medium.com/hc/en-us/articles/214465537-How-can-I-include-a-code-snippet-or-block-in-a-story-
>
> On Wed, Nov 16, 2016 at 7:06 PM, Kk Kruups <kkr...@gmail.com 
> > wrote:
>
>> hi folks, I just posted an article on Medium about  JSON Decoding using 
>> NoRedInk's Pipeline API and Json.Decode would love to get your feed back. 
>> Here is the link: 
>> https://medium.com/@kkruups/elm-insights-c74047637206#.r1xxsxv5h
>>
>> Thanks,
>> KK
>>
>> -- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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] Welcome feedback on article about JSON Decoding Posted on Medium

2016-11-16 Thread Kk Kruups
hi folks, I just posted an article on Medium about  JSON Decoding using 
NoRedInk's Pipeline API and Json.Decode would love to get your feed back. 
Here is the link: 
https://medium.com/@kkruups/elm-insights-c74047637206#.r1xxsxv5h

Thanks,
KK

-- 
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] Re: Suggestion: Add Names and possibly Mascot for Elm-Repl and Elm Online Editor

2016-09-20 Thread Kk Kruups
Hi folks,

I see Peter Damoc, brought up a similar idea 
<https://groups.google.com/forum/#!searchin/elm-discuss/peter$20damoc$20mascot%7Csort:relevance/elm-discuss/GtOaZo1Z0eY/cOnuoED27FwJ>
 
July of last year (2015).





On Wednesday, September 21, 2016 at 11:40:27 AM UTC+9, Kk Kruups wrote:
>
> HI folks,
>
> It would be nice to change add user friendly names to both elm-repl and 
> elm online editor with possible additional Mascots.
>
> For example 
>
> elm-repl could be called elmR 
> elm online editor could be calledelmo
>
> So we would have elmR and elmO sitting under an Elm Tree (Elm logo as an 
> Elm tree(.
>
> I think this would give Elm more appeal to younger folks and pretty kool 
> logos which could be used
> for Conference giveaways and  T-Shirts and stuff.
>
> I think a little marketing would increase appeal!
>
> Referring to elmR and elmO is much nicer than having to refer to items by 
> their cold proper names.
>
> I presume there are some great artist in this forum who could come up with 
> some kool ideas for these character logos
>
> ElmR, Elmo, Elm.
>
>
> Evan what do you say?
>
> BR/KK
>

-- 
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] Suggestion: Add Names and possibly Mascot for Elm-Repl and Elm Online Editor

2016-09-20 Thread Kk Kruups
HI folks,

It would be nice to change add user friendly names to both elm-repl and elm 
online editor with possible additional Mascots.

For example 

elm-repl could be called elmR 
elm online editor could be calledelmo

So we would have elmR and elmO sitting under an Elm Tree (Elm logo as an 
Elm tree(.

I think this would give Elm more appeal to younger folks and pretty kool 
logos which could be used
for Conference giveaways and  T-Shirts and stuff.

I think a little marketing would increase appeal!

Referring to elmR and elmO is much nicer than having to refer to items by 
their cold proper names.

I presume there are some great artist in this forum who could come up with 
some kool ideas for these character logos

ElmR, Elmo, Elm.


Evan what do you say?

BR/KK

-- 
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.