Can we express these in terms of examples of real-world code that is
currently painful? That's really the key here. :)

On Fri, Mar 3, 2017, 4:18 AM 'Rupert Smith' via Elm Discuss <
[email protected]> wrote:

> Another one I have run into, is when selecting just one field from a
> record, there is no syntax to further pattern match on it. Again, abusing
> the 'as' syntax in a quite different way to how it is currently used,
> something along these lines:
>
> func { field } =
>   let
>      SomeConstructor arg = field
>   in
>      arg
>
> Could be shortened to:
>
> func { field as SomeConstructor arg } = arg
>
> Sorry, that wasn't an update but it relates to record syntax.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Elm Discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elm-discuss/oWfARte8DJU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to