diff options
author | Loïc Hoguin <[email protected]> | 2017-07-24 17:13:20 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-07-24 17:13:20 +0200 |
commit | d344725cfd7169605ddecca46b9901af9f43ff1f (patch) | |
tree | 64e868690c16309d2d3d100f317673078a122002 /articles/page/2/index.html | |
parent | d08cffb4f3131b292de0a83a575467d72e2684be (diff) | |
download | ninenines.eu-d344725cfd7169605ddecca46b9901af9f43ff1f.tar.gz ninenines.eu-d344725cfd7169605ddecca46b9901af9f43ff1f.tar.bz2 ninenines.eu-d344725cfd7169605ddecca46b9901af9f43ff1f.zip |
Cowboy 2.0.0-rc.1
Diffstat (limited to 'articles/page/2/index.html')
-rw-r--r-- | articles/page/2/index.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/articles/page/2/index.html b/articles/page/2/index.html index 7cc3ae62..7b4cd275 100644 --- a/articles/page/2/index.html +++ b/articles/page/2/index.html @@ -72,6 +72,26 @@ <article class="blog_item"> <header> + <h2><a href="https://ninenines.eu/articles/xerl-0.2-two-modules/">Xerl: two modules</a></h2> + <p class="date"> + <span class="day">03</span> + <span class="month">Feb</span> + </p> + </header> + + <p>Everything is an expression. +
This sentence carries profound meaning. We will invoke it many
times over the course of these articles. +
If everything is an expression, then the language shouldn’t have
any problem with me defining two modules in the same source file. +
mod first_module
begin
end
mod second_module
begin
end
Likewise, it shouldn’t have any problem with me defining a
module inside another module. +
mod out_module
begin
mod in_module
begin
end
end
Of course, in the context of the Erlang VM, these two snippets
are equivalent; there is nothing preventing you from calling the
in_module module from any other module.</p> + + <p style="text-align:right"> + <a class="read_more" href="https://ninenines.eu/articles/xerl-0.2-two-modules/">Read More</a> + </p> + </article> + + <article class="blog_item"> + <header> <h2><a href="https://ninenines.eu/articles/xerl-0.1-empty-modules/">Xerl: empty modules</a></h2> <p class="date"> <span class="day">30</span> |