MLton / mlton

The MLton repository
http://mlton.org
Other
960 stars 127 forks source link

Typo in `Fold` article #483

Closed brandonspark closed 2 years ago

brandonspark commented 2 years ago

The Mixing steppers section of the Fold article currently reads as follows:

image

Notably, the O operation seems to multiply by two and add 1, and I just multiplies by two, despite the fact that O seems to correspond to 0 and I seems to correspond to 1. Plugging these into SML/NJ yields the following: image

It seems the bindings of I and O should be reversed.

MatthewFluet commented 2 years ago

Thanks for the typo report.