munificent / craftinginterpreters

Repository for the book "Crafting Interpreters"
http://www.craftinginterpreters.com/
Other
8.79k stars 1.03k forks source link

Small grammatical error #938

Closed CyberneticSquid closed 3 years ago

CyberneticSquid commented 3 years ago

From the aside in 3.4.1

A few languages let you define your own operators and control how they are positioned—their “fixity”.

"their" should probably be "they're".

texdraft commented 3 years ago

In this case, fixity is a noun derived from the suffix “-fix” in words like prefix, postfix, infix. An operator's fixity is where it is positioned in expressions, in relation to its operands. Therefore fixity is a property of an operator, and the possessive “their” is correct.

CyberneticSquid commented 3 years ago

Ah, okay. Apologies.