python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Implement a lists:map using case clauses instead of function clauses in Erlang
Can anyone tell me what this means? I am new to this and my friend recommended me to post in this website.
By the way I'm new to Erlang.
If possible I want to write a code in editor and I don't even u...
Shree
Votes: 0
Answers: 3
Erlang: Cannot start supervisor on another node
I have a simple supervisor that looks like this
-module(a_sup).
-behaviour(supervisor).
%% API
-export([start_link/0, init/1]).
start_link() ->
supervisor:start_link({local,?MODULE}, ?MODULE, [...
scottstots
Votes: 0
Answers: 1
Erlang: ets table does not persist data after gen_server crashes and restarts
I have a gen_server which stores positions of objects in an ets table like this
-module(my_gen_server).
-record(slot, {position, object}).
-behavior(gen_server).
%% API
-export([start_link/1, init/1,...
scottstots
Votes: 0
Answers: 1
Erlang: gen_server in supervisor does not restart at the last known state
I'm working in Erlang with a supervisor that looks like this:
-module(a_sup).
-behaviour(supervisor).
%% API
-export([start_link/0, init/1]).
start_link() ->
supervisor:start_link({local,?MODUL...
scottstots
Votes: 0
Answers: 1