>
> Thanks Max.
>
 I see this works. Haven't come across either of these in the docs. Is 
there a reference or a name for what's happening here that I could search 
for to learn more?
 

> Instead of
>
> type alias Model = { foo : Foo, bar : Bar }
>
> view : Model -> Html Msg
> view { foo } = -- code that ignores bar
>
> -- try
>
> view : {a| foo : Foo} -> Html Msg
> view { foo } = -- same code
>
>
>

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