https://github.com/elm-lang/elm-make/blob/master/src/Pipeline/Generate.hs
They get bundled into the Runtime of a generated Elm file. They allow for currying of JS functions. F2 takes a 2-argument JS function and returns a curried version of it (takes one argument, and returns another function taking one argument). A2 is for applying two arguments to a curried function. You need to use these when returning functions to Elm, or calling Elm functions, since they're meant for dealing with the function format Elm uses internally. On Tue, Aug 23, 2016 at 12:23 PM, <[email protected]> wrote: > The source code for Elm virtual-dom contains a file VirtualDom.js > In this file are calls to functions F2(), F3(), A2(), A3(). > I can't find where these functions are defined or what they do, and I > would like to know. > > -- > 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.
