Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Reporting on sucess/failure of tail recursion
@ 2005-12-02  9:09 Erik de Castro Lopo
  2005-12-02  9:13 ` [Caml-list] " Jonathan Roewen
  2005-12-02  9:29 ` basile
  0 siblings, 2 replies; 8+ messages in thread
From: Erik de Castro Lopo @ 2005-12-02  9:09 UTC (permalink / raw)
  To: caml-list

Hi all,

Say I have a file containing a number if Ocaml functions. 

We all know the advantages of tail recursive functions over non-tail
recursive ones and some of us know if a simple function is tail
recursice just by looking at it. However, for more complex functions
it would be really nice if there was a compiler mode that could print 
which recursive functions in a file were tail recursive and which were 
not.

Is there a way to do this? Does anyone else think this would be a useful
feature?

Cheers,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"I saw `cout' being shifted "Hello world" times to the left 
and stopped right there." -- Steve Gonedes


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

end of thread, other threads:[~2005-12-02 23:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-02  9:09 Reporting on sucess/failure of tail recursion Erik de Castro Lopo
2005-12-02  9:13 ` [Caml-list] " Jonathan Roewen
2005-12-02  9:25   ` Erik de Castro Lopo
2005-12-02  9:29 ` basile
2005-12-02 10:16   ` Erik de Castro Lopo
2005-12-02 15:17     ` Jean-Christophe Filliatre
2005-12-02 23:58       ` skaller
2005-12-02 10:45   ` David MENTRE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox