Hello,

I'm new to Elm and stuck with a problem. In my model I have a list of 
components of different types. Now I'm trying to get the view and update 
functions right.

This has surely already been solved, but I didn't find a solution 
anywhere...

Minimal example:

https://ellie-app.com/qsQjTYcs2va1/3

Uncomment line 166 to see what I mean. I would need to "cast" 
ComponentMessage and -Model to their Int subtypes.

What did I get wrong?

Sincerely,
Steffen

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