No, it has nothing to do with the scheduler. The constructor Step is defined in this line <https://github.com/evancz/automaton/blob/master/src/Automaton.elm#L46>. You probably should read up on union types, here <https://guide.elm-lang.org/types/union_types.html>.
2016-10-19 0:19 GMT+02:00 Ben Greer <[email protected]>: > Hi All, > > I'm ned to Elm and trying to learn. > > I'm reading through the src of Automaton > > https://github.com/evancz/automaton/blob/master/src/Automaton.elm > > but I can't seem to find the definition to the all important "Step" > function here. I've looked the Elm Core src and can't seem to find a > matching built-in. > Intuition tells me this is somehow related to Elm's scheduler stuff, but > where does one look? > > -Ben > > -- > 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. > -- 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.
