Hi all,
I am continuing on my path to explore clojure in more detail and am
trying to implement the following haskell algorithm in clojure:
http://www.csse.monash.edu.au/~lloyd/tildeFP/Haskell/1998/Edit01/
Even after trying several different approaches and investing several
hours I do not seem to get a handle on the problem.
Clojure seems to be lazy, but not lazy enough for that algorithm,
because functions are always called eagerly. I tried combinations of
returning closures or using delays, but up to now none of my versions
are working.
Could anybody on the list give me a hint on how to approach that
problem?
Thanks,
Christian