Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Reconsidering Functional Programming. Parent comment
In any case, let ... is basically syntactic sugar for lambdas.
let x = a in b
(\x -> b)(a)
There are no comments on this comment yet.
In any case, let ... is basically syntactic sugar for lambdas.
is equivalent to Other than aesthetics, the only reason to have a separate "let" syntax is to tell the typechecker that a function can be polymorphic.