cs3110 / textbook

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

Fix function name typo #146

Closed autoelk closed 10 months ago

autoelk commented 1 year ago

The description above describes a function called update but the code below uses write_once

clarksmr commented 10 months ago

Thanks for noticing the discrepancy! Code later in the file (not touched by 46c4740), though, also uses write_once. So either we have to switch everything to update, or everything to write_once. For sake of a more precise function name, I'm going to go with the latter.