How to return the lists of a list in ocaml?

Asked

Viewed 33 times

1

I don’t know how to return the lists of a list in the language ocaml.

For example: wanted to give the input [["Preto";"Branco"];["Amarelo";"Vermelho"]] return ["Preto";"Branco"] and then ["Amarelo";"Vermelho"] in a recursive function.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.