%% @doc Hola mundo en Erlang
-module(holamundo).
-author("Fer Carraro").
-export([main/1]).
-import(io, [format/1]).
%% @doc Metodo main del programa
-spec main(number())->any().
main(_Args)-> format("\t ====== Hola, mundo en Erlang =====").
%% Con Erlang instalado
%% erl
%% > c(utilitythree).
%% > holamundo:main(1).
El clásico hola mundo en lenguaje Erlang
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.