I am trying to combine a list of integers into one integer in Ocaml.For example,Input - List = [2,3,6,7,9]Desired Output - 97632.
I know how to iterate a list but what operation/function should I be using to get the desired output?
I am trying to combine a list of integers into one integer in Ocaml.For example,Input - List = [2,3,6,7,9]Desired Output - 97632.
I know how to iterate a list but what operation/function should I be using to get the desired output?