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
Warning on not-tail recursive functions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-08-04 (10:58)
From: tmp123@m...
Subject: Warning on not-tail recursive functions

Please, knows someone if "ocamlopt" can print a warning message when a 
recursive function is not tail recursive, and code with the "jmp" 
optimization has not been generated?.

In this case, probably I can correct the function implementation to 
write a better one. Without it, I must always look at the generated 
assembler to check it.

Thanks a lot.