Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
oct
· 9y ago · 0 comments
OCaml actually has correct block comments by his definition (and no line comments). This does lead to the odd fact that you can't have an unterminated string literal in a comment, which usually isn't a problem, but can be surprising.
Comments
[–]
Athas
9y ago
Does this mean that the following comment would be a syntax error in an OCaml program?
(* Strings are enclosed by '"'. *)