cs3110 / textbook

The CS 3110 Textbook, "OCaml Programming: Correct + Efficient + Beautiful"
Other
720 stars 132 forks source link

Issue on page /chapters/mut/mutable_fields.html #64

Closed PeytonJane closed 2 years ago

PeytonJane commented 2 years ago

"Raises: [Empty] is [s] is empty." I believe this quote to be incorrect. Instead, "Raises: [Empty] IF [s] is empty." Should use if because grammar / if statement makes logical sense and fits the formatting of raise statements (if e1 then e2).

PeytonJane commented 2 years ago

Also, this is listed twice in 7.2.3 (pop and peek).