
8 Dec
2005
8 Dec
'05
11:37 a.m.
Is there in standard libraries functions that do structure transformations ? just curious... |Write a function: | |list_to_pair :: [a] -> (a,a) | |and then map it over the list of lists: | |map list_to_pair your_resulting_list_of_lists | |HTH, |Ben