[erlang-questions] Using File containing list as an input

Karlo Kuna <>
Sun Jul 1 16:48:42 CEST 2018


i think file:consult/1 (http://erlang.org/doc/man/file.html#consult-1)
could be good for your usecase.


On Sun, Jul 1, 2018 at 3:58 PM Awsaf Rahman <>
wrote:

> Hello! I am new to Erlang and need some help!
>
> I generated a random list of 100,000 numbers and wrote them in a file. Now
> I want to use that list in the file as an input for different programs.
> What I am trying to do is benchmark some programs written in Erlang like
> Merge Sort and I want to use the same list in different variations of the
> program. If anyone can help me out it would be of big help!
>
> Thanks!
>
> Regards
>
> Awsaf Rahman
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180701/5b511e55/attachment.html>


More information about the erlang-questions mailing list