I understand that list_to_float(\"123\") giv开发者_如何学Ces a badarg error but why list_to_float([\"12.34\"]) gives also the same error ?Try
Is tail recursion better than forward recursion for perfomance in erlang? Or er开发者_C百科lang compiler optimizes forward recursion too?
If you start up a node as a slave, all its log output goes to the master. However, in my setup, I don\'t want to necessarily have a master, and I have 开发者_开发技巧nodes that automatically discover
Is it po开发者_运维技巧ssible to know the name of a function in itself ? a_function()-> io:format("I am ~p!", [????]). % What to use here?
I have read one of erlang\'s biggest adopters is the telecom industry.I\'m assuming that they use it to send binary data between their nodes and provide for easy redundancy, efficiency, and parallelis
I want to write a server-side app to manage multiplayer game communications (probably for multiple simple games, mostly turn-based). It should b开发者_开发知识库e robust and highly scalable.
I have an erlang bitstring based on the network representation of a MAC address, e.g. <<255,0,0,0,0,1>&开发者_开发问答gt;, and would like to convert it to an integer. What is the most efficie
How useful is the feature of having an atom data type in a programming language? A few programming languages have the concept of atom or symbol to represent a constant of sorts. There are a few diffe
How a good Erlang programmer would write this code ? loop(expr0) -> case expr1 of true -> A = case expr2 of
For example i have txt file with 10 string of text. How can i read first 5 string of this text with erlang?