by Example

Hello world




To print to the console use the `io` module



~n adds a new line to our output
-module(hello_world).
-compile(export_all).


hello() ->
    io:format("hello world~n").


1> c(hello_world).
2> hello_world:hello().
hello world
ok


Next: Values