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 the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to