sieve.mlton

Henry Cejtin henry@sourcelight.com
Thu, 23 Aug 2001 22:10:49 -0500


Yikes, your Word8Array and bool array versions are very different (as seen by
diff).  I changed the Word8Array into the bool version by just  changing  the
definition  of  the WA structure to be Array (instead of Word8Array) and then
changing the updates to use true instead of 0w1 and false instead of 0w0 (and
the creation) and to use
    if WA.sub (flags, i)
instead of
    if WA.sub (flags, i) = 0w1
for a total of 5 lines of changes.