let fac n = let rec accumulator product i = if i < 1 then product else if i > 0 then (accumulator (product*i) (i-1)) in accumulator 1 n;;
Standard input is empty
File "prog.ml", line 4, characters 24-55: Error: This expression has type int but an expression was expected of type unit
Standard output is empty