I have encountered a situation where I would like to ignore some inputs.
In my transition action I use a simple if-then-else expression to test for the inputs I wish to produce output tokens for and I generate a "NOP" token for those I'd like to ignore since you must have a type correct expression to satisfy ML.
I attempted to use if this=that then 1`goodToken else 0`goodToken
(with and without parenthesis) but this fails the type correctness check on the output portion of the action.
These tokens are passed to the next place which then branches either to transition whose guard allows NOP tokens only or to a transition which does not allow NOP tokens.
In this way I produce and consume these "no token" tokens.
Is there a simple way to accomplish this within ml or by a clever arc expression so that I can simplify my net?