In Haskell, all functions are initially charged, right?
So, let's take a look at the function max, and I will write that I understand how this works.
When I write something like this:
max 4 5
What happens is that a new function is created that internally has a value of 4, which then gets the value, so this function is applied to 5 and the correct value is returned?
Am I saying something wrong or is it right?
source
share