Warning: array_slice() [function.array-slice]: The first argument should be an array in /home/trapexit/docroot2/wiki/extensions/rssplanet.php on line 39

Warning: Invalid argument supplied for foreach() in /home/trapexit/docroot2/wiki/extensions/rssplanet.php on line 61
Erlang Community - Main Page - Trapexit

Main Page

From Erlang Community

(Difference between revisions)
Revision as of 15:21, 30 August 2007 (edit)
Admin (Talk | contribs)

← Previous diff
Revision as of 15:16, 12 September 2007 (edit) (undo)
Admin (Talk | contribs)

Next diff →
Line 88: Line 88:
<br/><irss max=2>http://www.trapexit.org/forum/rss_mod.php?f=7</irss> <br/><irss max=2>http://www.trapexit.org/forum/rss_mod.php?f=7</irss>
<br/><irss max=2>http://www.trapexit.org/forum/rss_mod.php?f=14</irss> <br/><irss max=2>http://www.trapexit.org/forum/rss_mod.php?f=14</irss>
 +<br/><irss max=1>http://www.trapexit.org/forum/rss_mod.php?f=20</irss>
 +<br/><irss max=1>http://www.trapexit.org/forum/rss_mod.php?f=5</irss>
|} |}

Revision as of 15:16, 12 September 2007

Your Erlang Community Site

Welcome to trapexit.org, the Erlang community site where you can read news and weblogs related to Erlang/OTP, discuss projects, issues and ideas with other Erlang developers, and read and publish articles and HowTos related to Erlang/OTP.

Trapexit News

Hi there!

As you can see our forums are not available anymore. They're in a read only mode which makes you able to access the content, but not to edit or add to it.


Sorry for the inconvenience.

The content of Trapexit.org - including forums is currently being migrated to ErlangCentral.org. Check it out the new Erlang community website and its functionalities here: http://erlangcentral.org/

What is Erlang and OTP?

Erlang is a programming language and a runtime system with strong built-in support for concurrency, distribution and fault tolerance. Originally developed at Ericsson, Erlang was released as open source in 1998.

The Open Telecom Platform (OTP) is set of Erlang libraries and design principles providing middle-ware to develop distributed, fault tolerant, massively concurrent soft real-time systems.

Here is an example of Erlang code:

-module(beersong).
-author('BillClementson').
-export([sing/0]).
-define(TEMPLATE_0, "~s of beer on the wall, ~s of beer.~n"
                    "Go to the store and buy some more," 
                    "99 bottles of beer on the wall.~n").
-define(TEMPLATE_N, "~s of beer on the wall, ~s of beer.~n"
                    "Take one down and pass it around, ~s"
                    " of beer on the wall.~n~n").

create_verse(0)      -> 
    {0, io_lib:format(?TEMPLATE_0, phrase(0))};
create_verse(Bottle) -> 
    {Bottle, io_lib:format(?TEMPLATE_N, phrase(Bottle))}.

phrase(0)      -> ["No more bottles", "no more bottles"];
phrase(1)      -> ["1 bottle", "1 bottle", "no more bottles"];
phrase(2)      -> ["2 bottles", "2 bottles", "1 bottle"];
phrase(Bottle) -> 
     lists:duplicate(2,integer_to_list(Bottle) ++ " bottles") ++ 
                     [integer_to_list(Bottle-1) ++ " bottles"].
bottles() -> lists:reverse(lists:seq(0,99)).
sing() ->
    lists:foreach(fun spawn_singer/1, bottles()),
    sing_verse(99).
spawn_singer(Bottle) ->
    Pid = self(), 
    spawn(fun() -> Pid ! create_verse(Bottle) end).
sing_verse(Bottle) ->
    receive
	{_, Verse} when Bottle == 0 ->
	    io:format(Verse);
	{N, Verse} when Bottle == N ->
	    io:format(Verse),
	    sing_verse(Bottle-1)
    after 
	3000 ->
	    io:format("Verse not received after 3 seconds"
                      " - re-starting singer~n"),
	    spawn_singer(Bottle),
	    sing_verse(Bottle)
    end.


Starter

Good places to start on trapexit.org

HowTo documents - Tutorials and Guides for Erlang developers
Erlang Cookbook - A collection of Erlang solutions to specific problems
Erlang Concepts - Articles dealing with specific Erlang aspects
Erlang Best Practices - Articles dealing with best practices in Erlang
Erlang Articles - Articles of interest to Erlang developers and testers
ErlangJobs - Erlang and Erlang related Jobs
Links to Erlang related sites outside Trapexit
RSS Feeds related to Erlang, including blogs and software development

Latest Forum Posts

Erlang

Cheers ! So beautiful watch . Very fashionable look . Love i
  (Thu Sep 20, 2012 7:56 am)
Wholesale Nike Shoes (www.best-wholesaler.net) Paypal Accept
  (Thu Sep 20, 2012 7:30 am)

Open Telecom Platform (OTP)

RE: MTS to Avid- Import Panasonic LX7 MTS to Avid Media Composer
  (Thu Sep 20, 2012 8:48 am)
RE: High quality louis vuitton Men Shoes Sale
  (Thu Sep 20, 2012 8:47 am)

Advanced Erlang/OTP

Wholesale NFL Jerseys(www.best-wholesaler.net)Paypal Accept
  (Thu Sep 20, 2012 7:46 am)
RE: How to Use MTS to AVI Converter on Mac
  (Thu Sep 20, 2012 1:50 am)

User Contributions

Wholesale Nike Free(www.best-wholesaler.net)Paypal Accept
  (Thu Sep 20, 2012 7:55 am)

Trapexit Forums

Nike SB Stefan Janoski For Sale
  (Thu Sep 20, 2012 2:21 am)

Latest Planet Entries

Latest Wiki Changes

User:Medwards76
  (Thu Jan 01, 1970 1:00 am)
User talk:Melodyfeid
  (Thu Jan 01, 1970 1:00 am)
User talk:Donnajack01
  (Thu Jan 01, 1970 1:00 am)

Mailing Lists Posts

Erlang questions mailing list

RE: grew
  (Wed Sep 19, 2012 9:22 am)

Yaws mailing list

cheap replica handbags
  (Thu Sep 20, 2012 1:57 am)

Erlyweb mailing list

cheap replica handbags
  (Tue Sep 18, 2012 4:15 am)

RabbitMQ mailing list

RE: compatibility with legacy code
  (Wed Sep 19, 2012 7:51 am)

Ejabberd mailing list

cheap replica handbags
  (Wed Sep 19, 2012 7:59 am)


Erlang/OTP Projects
Personal tools