Elixir playground

defmodule Greeter do
  def greet(name) do
    IO.puts("Hello, #{name}!")
  end
end

Greeter.greet("World")

Elixir is a dynamic, functional language for building scalable and maintainable applications using the Erlang VM.

⛫ homepage • αω tutorial • ⚘ community

Sandbox details

Elixir version:     1.16 (Erlang/OTP 26)
sandbox engine:     codapi
sandbox name:       elixir
allowed commands:   run
in-browser:         ✘

Usage example:

```elixir
IO.puts("Hello, World!");
```

<codapi-snippet sandbox="elixir" editor="basic">
</codapi-snippet>

Documentation