The 99 problems originated in Prolog. Seeing as Oz is much closer to
Prolog than is Haskell, you probably want to look there as well.
I toyed with the idea of attacking the 99 problems in Oz a while back,
but got bogged down in other translation efforts. Not having looked at
it in some time, you will probably have to decide on many of the
problems whether you solve it in a functional style akin to Haskell. Or
whether it is more appropriate to define it in a logic (Prolog) type
style. Either way, Oz is quite pliant in terms of adapting itself to
whatever model of programming that you use. But it means that there are
likely multiple solutions possible in Oz. Being multi-paradigm, the Oz
translation can easily be made idiomatic to the style chosen.
I'm not much help at this point, but good hunting if you to decide to
methodically attack the problem set.
Chris
Dustin Lee wrote:
Hi. I was wondering if anyone knows of any oz solutions to the "99
problems" set.
e.g. http://www.haskell.org/haskellwiki/99_Haskell_exercises
I'm just starting to learn oz and I thought it would be interesting to
see the way these would be solved in idiomatic oz.
I've been playing with them but I'm still trying to get my head around
the oz mind set.
--
Dustin Lee
qhfgva=rot13(dustin)
------------------------------------------------------------------------
_________________________________________________________________________________
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