The Application Template

application_template.full
 
%%%-------------------------------------------------------------------
 
%%% @author some name <me@hostname.local>
 
%%% @copyright (C) 2013, some name
 
%%% @doc
 
%%%
 
%%% @end
 
%%% Created : 26 May 2013 by some name <me@hostname.local>
 
%%%-------------------------------------------------------------------
 
-module​().
 
 
-behaviour​(application).
 
 
%% Application callbacks
 
-export​([start/2, stop/1]).
 
 
%%%===================================================================
 
%%% Application callbacks
 
%%%===================================================================
 
 
%%--------------------------------------------------------------------
 
%% @private
 

Get Programming Erlang, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.