Functions

Learn how to create and use functions in Melbi—from simple lambdas to generic and higher-order functions.

In this section:

  • Functions - Create lambdas, understand function types, and call package functions
  • Generic Functions - Write functions that work with any type
  • Higher-Order Functions - Use and create functions that take or return other functions
  • Standard Library - Overview of Melbi’s built-in packages

Table of contents