Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
recursive or loop
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-03-06 (12:08)
From: Michael Wohlwend <micha-1@f...>
Subject: recursive or loop

A friend of mine changed a recursive algorithm to an imperative one since that 
is (he said) the only way to temporary stop the calculation and save the 
state to disk and be able to continue it later. To continue he just loads the 
saved state and jumps into his loop.

Is that true? How do I jump out of a recursive algorithm and be able to 
continue it at the same point?