English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This method converts a tuple to a list.
tuple_to_list(list)
Tuple −This is the tuple that needs to be converted to a list.
Returns a list based on the provided tuple.
-module(helloworld). -export([start/0}). start() -> io:fwrite("~w",[tuple_to_list({1,2,3}).
Output Result
The output of the above program is as follows
[1,2,3]