I am writing a prog开发者_运维知识库ram that can have either a list or a string as an argument. How can I tell the difference between a string and a list programmatically in Erlang. Something like:
I know you can do something like this: readlines(FileName) -> {ok, Device} = file:open(FileName, [read]),
开发者_开发问答 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely so
开发者_JS百科What is the more efficient way to create a web video chat ? What tecnologies ? What server side and client side languages ?
Is there anything like the weblogic console, but for administrating an OTP ap开发者_如何学JAVAplication (written in Erlang)?Not that I know.
Playing with the ssh and public_key application in Erlang, I\'ve discovered a nice feature. I was trying to connect to my running Erlang SSH daemon by using a rsa key, but the authentication was fail
Is it possible to pass null values to parameter queries?For example Sql = \"insert into TableX values (?,?)\".
I\'m trying to build a small testing app with erlang+mnesia. I have a user table build from the #user record, as defined here:
There are lots of fragments out there detailing bits and pieces of the parse transform process in Erlang, but none I\'ve found offer complete coverage from motivation to execution.Is there a good tuto
I need to generate a set of coordinates in Erlang. Given one coordinate, say (x,y) I need to generate (x-1, y-1), (x-1, y), (x-1, y+1), (x, y-1), (x, y+1), (x+1, y-1), (x+1, y), (x+1, y+1). Basically