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

Position of an element in a list

$
0
0

What is the fastest way to get the position of an element in a list of element in OCaml?I know how to get the "nth" position of an element in a list but I would like to know how to get the position of this element if I already know the value.


Viewing all articles
Browse latest Browse all 527

Trending Articles



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