Questions tagged [erl]

The erl program is Erlang Emulator, starting an Erlang runtime system.

The executable script erl is a front-end to the Erlang runtime system. Windows users probably wants to use the werl program instead, which runs in its own window with scrollbars and supports command-line editing.

160 questions
0
votes
1 answer

Looking for an examples of "request as a process" in erlang

In One major difference - ZeroMQ and Erlang author mentions briefly "request as a process" idea. I'm new to Erlang and I'd like to see an example or an article how to do it. Any resource or hint will be highly appreciated.
user2624443
  • 60
  • 1
  • 6
0
votes
1 answer

yaws not building on CentOS after erlang build OK

Problem: yaws configure is failing after autoconf with unable to find erl Question: Why this error is showing, because erl can be found from a bash shell from anywhere which erl --> /usr/local/bin/erl Thanks.
0
votes
1 answer

How to detect erl_call disconnect

I have an erlang service that trigged by erl_call. erl_call will make a long call like "gen_server:call(?SERVER, do, infinity)" to wait the result. If erlang service down, erl_call will return. But if erl_call be interrupted (use CTRL-C), the erlang…
shian
  • 124
  • 7
-1
votes
2 answers

Precise exception type for division by zero in Erlang

I want to catch zero division error but do not know which exact pattern should I write for that Result = try 5/0 catch {'EXIT',{badarith,_}} -> 0. It works when I catch all the exceptions via Result = try 5/0 catch _:_ -> 0. but the first example…
Most Wanted
  • 6,254
  • 5
  • 53
  • 70
-1
votes
2 answers

installed erlang R16B03 and erlc command not working

I installed erlang from erlang.org using wget http://erlang.org/download/otp_src_R16B03.tar.gz I can see that erlang is successfully installed. However, I am unable to use the erlc command for eg, ercl file.erl {"init terminating in…
sad
  • 820
  • 1
  • 9
  • 16
-1
votes
2 answers

erlang list substract using list : map

i realy need help with this assignment that goes as follow: i need to implement this function using map family. mapSub(List1,List2). Subtracts List2 from List1 Follows the order of appearance in List2. Implement it using map family Examples: …
ERV
  • 1
-1
votes
1 answer

Erlang: find word from list and return True

How can I make function to search for a word in list and return true if word in list. Example : find(string) -> List = ["bye", "hello", "hi"], case string in List of true -> true; _ -> false …
Mr. zero
  • 245
  • 4
  • 18
-1
votes
1 answer

Creating a grid in wx Erlang

I am trying to create an interface with Erlang. I want to use the wx grid module but cannot find anywhere to learn how exactly to start using this module.
love4code
  • 31
  • 2
-2
votes
1 answer

Customizing Ejabberd

I am creating a XMPP chat service for this I'm using ejabberd. Features that i want to implement are Add custom fields like phone number , email at the time of registration.I need help regarding which lines should i edit in mod_register to accept…
-2
votes
1 answer

Erlang conversion binary join?

How to convert that binary format to this [<<"xys">>,<<"est">>] -> [<<"xys","est">>].
Hari Haran
  • 1,543
  • 4
  • 13
  • 25
1 2 3
10
11