On 06/22/2015 06:07 PM, Mark Shinwell wrote:
I've heard the argument of Gerd from various people on many occasions.
Personally, I don't buy it; I think the situation where the error
message is deficient doesn't happen very often, whereas ";;" is
syntactic clutter that I have to see every day (and would rather not
see).
Mark
I am curious.
How do you make this file compile without ';;' in it ?
# cat src/test.ml
---
let main () =
failwith "not implemented yet"
;;
main ()
---
I always use ';;' just for that use case.
I really don't know if there is another way that fits a single file.