How does one split a list which is passed as an argumen开发者_如何转开发t to a function and tag each element with a number?
I\'m having a problem that should b开发者_开发百科e stupidly easy to fix. Following this, I\'m trying to access a field in a record. Here\'s a simplified example that exhibits my problem:
i m graduate student and as my project i have to run Erlang Chat Application, but i am confused to run 2 nodes on my single machine having windows vista. can anyb开发者_运维百科ody help me please to r
How can I do dynamic pattern matching in Erl开发者_如何学Pythonang? Supose I have the function filter/2 :
There is at least three well-known approaches for creating concurrent applications: Multithreading and memory synchronization through locking(.NET, Java). Software Transactional Memory (link text) i
Erlang-sqlite3 uses a port driver to connect with the SQLite database, and receives messages from the port:
Im having some trouble with the erlang wx module. My program runs as follows: Server = wx:new(), Frame = wxFrame:new(Server, -1, \"\" [{size,{700, 600}}]),%%%REFERENCE TO WINDOW
How can I delete a tuple with key from a list? Ex: T开发者_运维问答upleList = [ {apple, {0,0,0}}, {orange, {0,0,0}}, {bannana, {0,0,0}}]
I have a little issue to which I can find no easy answer. I set: Who = apple. Message = [{apple, {0,0开发者_运维技巧,0}}, {orange, {1,1,1}}].
I noticed that messages sent to the pid of a gen_fsm process are matched in the state callbacks as events.Is this just accidental or can I rely on this feature?