Erlang Cheatsheet

A quick reference guide for Erlang syntax and common patterns.

Coming Soon

This cheatsheet is currently under construction. Check back soon for:

  • • Basic syntax reference
  • • Pattern matching examples
  • • Common functions and modules
  • • OTP patterns

Basic Syntax

% Comments start with %
-module(example).
-export([function_name/1]).

function_name(Arg) ->
    Result = Arg + 1,
    Result.