Hare playground

use fmt;

fn greet(user: str) void = {
	fmt::printfln("Hello, {}!", user)!;
};

export fn main() void = {
	greet("World");
};

Hare is a systems programming language designed to be simple, stable, and robust.

⛫ homepage • αω tutorial • ⚘ community

Sandbox details

hare version:   0.25.2
sandbox engine: codapi
sandbox name:   hare
command:        run
in-browser:     ✘

Usage example:

```hare
use fmt;

export fn main() void = {
	fmt::println("Hello world!")!;
};
```

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

Documentation