Say I want to represent something like this:

type Event = ReceiverEvent | SenderEvent

where ReceiverEvent is like

type ReceiverEvent = Receive | Process

and 

type SenderEvent = Sent | Confirmed

and then if something is an event, it can either be a ReceiverEvent or 
SenderEvent, and if it is a ReceiverEvent it can be Receive or Process.

I gather this is illegal in elm, but how should this be represented instead?

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