klequis / zz-haskell-notebook

Notes from learning Haskell
1 stars 0 forks source link

Argument vs Parameter #30

Open klequis opened 2 years ago

klequis commented 2 years ago

A parameter, or formal parameter, represents a value that will be passed to a function when that function is called. Thus, parameters are usually variables. An argument is an input value the function is applied to.

A function’s parameter is bound to an argument when the function is applied to that argument.