Question: Write one ML recursive function sumT 2 ( L ) to add all number in a tuple list. ? ? T 2 ( [ (

Write one ML recursive function sumT2(L) to add all number in a tuple list. ??T2([(1,2)])longrightarrow3,??T2[(2,3),(5,7)]longrightarrow17
0 type:
la Base in:
1 b Base out:
2a N in:
2bN:
3a N-1 in:
3 b N-1:
4==
5 Together
 Write one ML recursive function sumT2(L) to add all number in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!