Question: As mentioned in the previous question, OCaml comments are permitted to nest; for example, one can easily comment out a block of code that contains

 As mentioned in the previous question, OCaml comments are permitted to

As mentioned in the previous question, OCaml comments are permitted to nest; for example, one can easily comment out a block of code that contains comments, as in the following example from the OCaml Tutorials: 4. This code is broken ( Primality test.) let is prime n note to self: ask about this on the mailing lists xxx; Explain what would be necessary for the scanner in an OCaml interpreter or compiler to correctly recognize nested comments

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!