I'm working on a school project in a functional programming class. The project is about determining if a set of dominos (represented as a list of tupl ...
I'm working on a school project in a functional programming class. The project is about determining if a set of dominos (represented as a list of tupl ...
I try to get the following to work as described in the erlang eunit documentation: debugMsg(Text) Outputs the message Text (which can be a plain s ...
I have created a genserver,it will receive a tuple from erlang shell. After receiving the tuple genserver should write that tuple to a file along with ...
I need to start an SSH connection in my app which requires a username and password. The username is constant so can be hardcoded, but I want the passw ...
So I've wrote this program that takes 1 String Argument and print it as following: then I call the function as following (from terminal). Until ...
I have a string "data".How can I convert only the first character to uppercase and get a new string in the form of "Data"? ...
I am new to erlang. I have property list as follows. This is my function. io:format("~p\n", Conn) return my property list correctly. But proplis ...
I am new to erlang. I have following data record. I need to select data in following SQL format All rows can get following code. How I achiev ...
Hi I am trying to learn quickcheck (quviq) in erlang and I have come across an exercise where I have to test a simulated cache with symbolic calls. Ho ...
I try to understand how to give anomous function different arguments, and what is passed on to the anonymous function as an argument. Try to do so in ...
I run the following anonymous function and variables in the interpreter, and get wrongly so a true statement, but why is that, and what do I need to c ...
Thanks for taking a look at my question. I wrote a code for the question ring problem from the o'reilly francesco cesarini and simpson thompson, Exer ...
Thanks for looking at the question and It would be helpful and appreciated if you guys can solve my question. Now here's my question.. I created a ge ...
I am new to erlang and I have done the code, But I need the right answer format for this question. Here's my code. If I enter any Integers then it'll ...
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 am new to erlang, I have been learning to code on console/command prompt. Now I have to do the below code on editor. I need the sum of given numbers ...
I'm completely new to Erlang and i'm using the Ubuntu command line to run the program and gedit to edit/write the code. I'm trying to code tangent my ...
After starting the Erlang shell with erl I create a logger like so Then if I try to log a warning message by logger:warn("foo"). it shows up in the ...
I have read an article about the erlang select receive mechanism, at the end of the article, there is a conclusion: "messages are moved from the mailb ...
In the below erl command I want to pass config file along with the arguments. erl -config sys.config [Args] ...