The discussion around this would probably be helped by some specific use 
cases.
In general, the pattern:

case someValue of
  A ->
    -- code

  _ ->
    -- in all other cases do this
    doStuff


Suits me just fine.

And if I stumble upon something like this in my code:

case someValue of
  A ->
    -- code

  B var ->
    stuff2 var 0 0

  C var var2 ->
    stuff2 var var2 0

  D var var2 var3 ->
    stuff2 var var2 var3 


This is usually an indication that perhaps my types should be structured 
differently.

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