Questions tagged as 'erlang'

2
answers

Material for study of functional languages: scala, haskell and erlang [closed]

Well, I asked a question recently and it was suspended because it is a matter of opinion of each person, so here I redo my question to be clearer what I want: Someone could please pass me sites or indicate books for learning the following lan...
asked by 05.01.2015 / 20:21
1
answer

Functional Programming and Referential Transparency

Referential transparency ensures that given the same input values for a function, it will always give me the same return value. How would I have to do in the case of a function that accesses the database that has state, for example at the tim...
asked by 16.07.2015 / 01:57
1
answer

Basic competition in Erlang

Adapted this question in the international overflow stack, whose answer is my own. The following code was given in a lesson. We tested the code, but I did not quite understand how it works. How does this code create multiple processes, an...
asked by 26.02.2014 / 12:17
1
answer

Duck type in Elixir

[5,a,15] = [5,10,15] Making this type of assignment in Elixir is duck typing  or are they different concepts? I ask because I was left with the doubt since on the left side it is declared a "variable" without an explicit type or a di...
asked by 05.11.2017 / 02:44
1
answer

Integrate nodejs (frontend) and C, Erlang, Go ... (backend) [closed]

I have a system to be developed that will need to handle a large number of simultaneous requests, where each of these requests will probably involve some task that requires a lot of processing. By researching how to deal with this situation I ca...
asked by 09.03.2016 / 21:37
1
answer

What algorithm is this? [closed]

Knowing that: [] denotes an array [A|B] extracts the first element of the array in A and the rest of the array in B [X, Y] ++ [Z] creates a concatenated array [X, Y, Z] [ X || X <- [1, 2, 3, 4]...
asked by 06.10.2016 / 02:16
0
answers

How to extract a binary from a string?

I have the following decimal list in Erlang: "01000001" == [48, 49, 49, 49, 49, 49, 48] I need to create a binary type from this list, so: < <<01000001>> == <<"A">> I have tried to convert with the...
asked by 16.10.2018 / 18:24
1
answer

Extracting arguments from a URL with Erlang

I need a lot of help in Erlang because I'm a beginner in language. I am doing a work with some friends that consists in the development of a service oriented bus, allowing to handle several requests. I'm looking for a solution to how the URL fro...
asked by 03.05.2015 / 01:05
0
answers

Erlang oauth2_example does not work / auth

I have a project in github read_file , but when I try to use the oauth2_example to try to authenticate a user in oauth2 as exemplified in the ouath2 site generates the following error: =ERROR REPORT==== 1-Dec-2018::10:44:24 === Ranch listen...
asked by 01.12.2018 / 13:58
0
answers

Error in tzdata does not let the application in phoenix start in localhost

Hello, I'm trying to run an application in phoenix and I'm getting an error in tzdata when trying to start the local server, I'm inexperienced in development with phoenix, a help would be very welcome, it follows the error returned when running t...
asked by 07.11.2018 / 14:38