As all programming languages, it is possible to create lists in OCaml.
So, let's see this, right now with new examples.
We will indeed create two functions, one of ints and another of strings.
For the ints:
#let number = [1; 2; 3; 4];;
#let fruits = ["apricot"; "raspberry"; "cherry"; "tomato"];;
© Badprog - I want to change the world. And I will.