On Sun, Dec 4, 2016 at 6:53 PM, David Andrews <random...@gmail.com> wrote:

> I expect that you are actually looking to do something like this:
>   let
>     x = 1
>   in
>     case something of
>       Just x -> ...
>       Nothing -> ...
>

David, are you sure you didn't mean the following?

case something of

   Just 1 -> ...

   Nothing -> ...


It seems strange to include a shadowed variable `x` as in your expected
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 elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to