elm-tutorial icon indicating copy to clipboard operation
elm-tutorial copied to clipboard

Pedegogical error in Function section

Open arjunv27 opened this issue 6 years ago • 1 comments

-- When we do:

divide 5 2

-- This is evaluated as:

((divide 5) 2)

-- First `divide 5` is evaluated.
-- The argument `5` is applied to `divide`, resulting in an intermediate function.

Pretty sure the the function is applied to the argument. See this in the first paragraph.

arjunv27 avatar Mar 26 '18 21:03 arjunv27

I guess the correct word is a pedantic rather than pedagogic error

arjunv27 avatar Mar 26 '18 23:03 arjunv27