I've completed, for the most part, the translation of the code from Chris
Okasaki's Purely Functional Data Structures into Oz.  The results can be
found at:


http://www.codepoetics.com/wiki/index.php?title=Topics:PFDS_in_other_languages:Oz

I did a lot of variable renaming with uneven results in terms of clarity.
And I'm not sure I got the laziness/normalization correct in all places -
meaning that the costs of the Oz algorithms may not exactly correspond to
the ML code.  And the very last module requires a sized_deque input that I
didn't implement (so the append function is not tested).  Other than that, I
think the translation does a fair job of being both faithful to the original
material and idiomatic Oz code.

Comments and criticism are welcome.  And since the code resides on a wiki,
feel free to make corrections.

Thanks,
Chris
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to