I'm just wondering if there is a ready-made implementation of the zip function in the erlang standard library. Something like that:
zip([H1|T1], [H2|T2], Acc)-> zip(T1, T2, Acc ++ [{H1, H2}]); zip([], [], Acc) -> Acc.
There is a zip function in the list module :
> lists:zip([a,b,c], [1,2,3]). [{a,1},{b,2},{c,3}]
Source: https://habr.com/ru/post/1724809/More articles:Is there an easy way to determine which file is its extension in C #? - c #Download file from resource - androidResources for display systems in critical embedded security systems? - embeddedhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1724807/how-to-make-batch-remote-calls-to-database-or-service&usg=ALkJrhg2uEk7RW5R8a-R9uQnU_eZFstawQcan property / synthesize sqlite3 * database object? - sqliteclear text box after form submit - javascriptJQuery class selector starting with? - jqueryКак заставить компилятор Java рассказать мне, какой тип он имеет? - javaHow do I get a user to deal with a security warning when starting Access 2007? - vba.net - .netAll Articles