>
> However, as the constructor for Animation is exposed by its module, I am 
> not prevented from deconstructing it or pattern matching against it.
>

Hmm, I tried to do this but got errors as I thought:

Cannot find pattern `Animation`
6| f (Animation { steps, running }) =
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Could you explain how you can abuse this by destructuring or similar?

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