Function Abstraction and Function Application

Learn about function declaration, function application, function types, and how functions act as black box abstractions.

Lambda calculus—a model of computation based on functions—serves as the foundation for all functional programming languages. Not surprisingly, functions lie at the heart of the functional paradigm. In this lesson, we’ll study how OCaml implements functions, especially function abstraction and function application. Most of what is described here works similarly to other functional programming languages, such as Haskell and Scala.

Get hands-on with 1200+ tech skills courses.