Chris,
This is really impressive, this was on my list of things to do after
CTM, Awesome work mate.
-jh
On Sep 25, 2008, at 7:29 AM, Peter Van Roy wrote:
Chris Rathman wrote:
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
This is impressive, many thanks Chris.
I was thinking: could you assemble all the translations
you have done into a book (or at least, a long report!)
that can serve as a resource for people writing Oz code?
This would be a nice complement to the existing Oz
documentation (and the CTM book).
Peter
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users