Hi, I am having trouble understanding the -> syntax in elm.
For example if we have the function: plusTwo x = x + 2 it's type definition will be as follows: <function> : number -> number this is pretty straight forward however, if we have the function add x y = x + y its type definition is: <function> : number -> number -> number why is it not <function> number number -> number? What does -> denote exactly. Thanks in advance. -- 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.
