And if someone yelled "Five" I'd say

-- MISSING PATTERNS ------------------------------------------------ 
counter.elm


This `case` does not have branches for all possibilities.


36|>    case msg of

37|>        Increment ->

38|>            model + 1

39|>

40|>        Decrement ->

41|>            model - 1

You need to account for the following values:


    Main.Five


Add a branch to cover this pattern!

Or words to that effect.

On Thursday, October 6, 2016 at 11:36:44 AM UTC+1, Will White wrote:
>
> I've been thinking about how I'll give a talk about Elm (at a JS event in 
> Nottingham, UK). To demonstrate Model-Update-View, I think I'll start with 
> the Counter example, but instead of in code, in real life. So I'd say "I'm 
> a counter, I'm on 0. Increment and Decrement me." and end up with a room of 
> people yelling "Up" and "Down" with me going "4! 5! 4! 3!". Then we'll code 
> it.
>
> Just thought your 14-16 yos might find that fun and illustrative.
>
> On Tuesday, October 4, 2016 at 6:33:04 AM UTC+1, Fedor Nezhivoi wrote:
>>
>> Hello folks,
>>
>>
>> Evan, Richard and the whole community as well as Elm language itself do a 
>> great job in teaching community. If you are staying with this community for 
>> a long time, you probably already can notice some improvements in your 
>> understanding of programming, API design, abstractions and etc. How can we 
>> take it even further?
>>
>>
>> Recently I got an opportunity to share some knowledge about functional 
>> programming and programming in general. However target audience are 
>> children (mostly 14-16 y.o.) and I am a little bit stuck. Not only I've 
>> never been a teacher, but with children I expect it to be even harder 
>> because of curse of knowledge. On the other hand trying to teach some 
>> boring basics doesn't feel right, to be interesting it should be kind of 
>> journey.
>>
>>
>> Previously there was some information about courses in USA where children 
>> are thought programming with Elm. So I am kindly ask people who are doing 
>> this to share your experience, tips, tricks and whatever may be helpful. It 
>> would be even better if you can share some actual 
>> content/topics/lessons/exercises. If you know exact person, but they are 
>> not here, please, provide me with contacts.
>>
>>
>> *I am kindly ask you to abstain from discussions and only participate if 
>> you have something concrete.*
>>
>>
>> Have a nice day!
>>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to