Thanks!

The Solution just don't look that nice ;-)

update : Msg -> Applications -> Applications
>>
>> update action model =
>>
>>   case action of
>>
>>     AID app ->
>>
>>       { model | appID = String.toInt app |> Result.toMaybe |> 
>>> Maybe.withDefault 0 }
>>
>>
>>>     Name nname ->
>>
>>       { model | name = nname }
>>
>>
>>>     ClientID cid ->
>>
>>       { model | clientID = cid }
>>
>>
>>

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