Следующее код не компилируется:
let x = "hello" in
Printf.printf x
Ошибка:
Error: This expression has type string but an expression was expected of type
('a, out_channel, unit) format =
('a, out_channel, unit, unit, unit, unit) format6
1 )Может кто-нибудь объяснить сообщение об ошибке?
2 )А почему строка не может быть передана в printf ?