Yes, you're correct. Consider the case where you want to make a function that returns a function. Perhaps you'd write:
```elm makeMeAFunction : Int -> (Int -> Int) makeMeAFunction i = (\j -> i) ``` If you call (makeMeAFunction 1), the result would be a function that takes any integer and returns 1. So ((makeMeAFunction 1) 10) in the inner call would return a function that takes an integer and returns 1, and the outer call would call that function with argument '10', so the result would be 1. But this is just the same as ```elm makeMeAFunction : Int -> Int -> Int makeMeAFunction i j = i ``` On Mon, Sep 26, 2016 at 8:56 AM, suttlecommakevin < suttlecommake...@gmail.com> wrote: > I have some confusion with the syntax in Elm, fully realizing that they > may have been modeled after Haskell and/or other languages. > > Here's an example: > > add : Int -> Int -> Int > > > Why wouldn't this be: > > > add : Int, Int -> > > > Is it because of partial application or currying? > > -- > 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 elm-discuss+unsubscr...@googlegroups.com. > 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 elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.