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.18 (Erlang/OTP 26)
sandbox engine: codapi
sandbox name:   elixir
command:        run
in-browser:     ✘

Usage example:

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

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

Documentation