Quantcast
Channel: Active questions tagged ocaml - Stack Overflow
Viewing all articles
Browse latest Browse all 527

How to combine elements of a list into one element in Ocaml?

$
0
0

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?


Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>