caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Mutually recursive functions in different modules
@ 2007-09-18  6:27 Arthur Chan
  2007-09-18  7:53 ` [Caml-list] " Jacques Garrigue
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Arthur Chan @ 2007-09-18  6:27 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

Hey all,

Is it possible to have mutually recursive functions in separate modules?

For example, is it possible for function x in module A to call function y in
module B and vice versa?

The reason why I'm asking is because I've written a good bit of my code with
functors, and now I need to make some of the code mutually recursive, and
thus, the mutually recursive functions have to be in separate modules.

Best Regards
Arthur Chan

[-- Attachment #2: Type: text/html, Size: 471 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-09-19 11:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-18  6:27 Mutually recursive functions in different modules Arthur Chan
2007-09-18  7:53 ` [Caml-list] " Jacques Garrigue
2007-09-18 14:16   ` Yitzhak Mandelbaum
2007-09-18 11:17 ` Jean-Christophe Filliatre
2007-09-19  8:44 ` Julien Signoles
2007-09-19 11:40   ` Andreas Rossberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).