Is there a way to pass parameters to root supervisor of an application other than with config file and application:get_env/1? For instance, by command line?
In my new project I want to use webmachine and mochiweb. First thing i want to do is authentication. I edit \"dispatch.conf\" and make some resources, like:
I got this very newb and simple function in erlang: function_x(L) -> X = lists:filter((fun(N)-> N =:= 2 end), L),
Say I define a type: -ty开发者_Python百科pe yummy_foods() :: ice_cream | cake | cookies | spam. This seems like a great way to do what I would do with an enumeration in C. I can have Erlang check t
This could be a very basic question but is Erlang capable of calling a method on another prcoess and wait for it to repond back with some ob开发者_开发百科ject type without sleeping threads?Well, if y
How to implement AND guards in list comprehensions? Separating the guards with comma seems to word as OR:
I\'m giving a small presentation to a group of C/C++ programmers who have very little experience with functional languages. Part of the presentation mentions Erlang, and I would like to give a specifi
Want to merge [1,3,4], [2,5] -> [1,2,3,4,5] and zip [1,2,3],[4,5] -> [{1,4},{2,5}]. Its not homew开发者_如何转开发ork, i just want improve my skill in list-comprehensions. If you know any links to tri
I have a erlang integration test using the common test frame work. The config parameter passed to the init_per_testcase call and all the tests is initialized as:
Is it possible to start a supervisor module in ejabberd which I can add a gen_fsm module to, per connection?