alco / alco/erlang-mix-project

Executing Erlang code without wrapping it in a function

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Erlang
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

How does one execute erlang code without wrapping it a function?

E.g.
```Elixir
defmodule Foo do
IO:format("Hello World!") # This works perfectly well
end
```

While this raises a syntax error:

```Erlang
-module(Foo)
io:format("Hello World!") %% syntax error before :
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.