OCaml main fuction : I a bit new in OCaml and I am finishing my card game program.
I need a main function to run the others functions.

I try this:

    let main () = 
      let deck = make_mazo in 
      let jugadores = players [] 0 in
      dothemagic deck jugadores 0 [] [] [];;

But i get this error:

    File "game.ml", line 329, characters 37-39:
    Error: Syntax error

I think ;; is the problem and I need a different way to end the code. Also try with only ; and the problem is the same.