sporto / elm-tutorial

A guide to building web applications using Elm 0.18
396 stars 117 forks source link

Pedegogical error in Function section #195

Open arjunv27 opened 6 years ago

arjunv27 commented 6 years ago
-- 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 commented 6 years ago

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