I am very new to OCaml and am trying to write a function that takes a string and an int. It prints out "Hello, " + the string passed in and then it returns 1+ the int. I have this so far but it doesn't seem to be working:
let random_func s n = print_string "Hello, "; print_string s;1+n;;
Any ideas what I'm doing wrong?