[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Mike Lin <mikelin@M...> |
| Subject: | Re: [Caml-list] let rec when not recursive |
On Thursday, April 24, 2003, at 09:58 AM, henridf@lcavsun1.epfl.ch wrote: > In order to be able to refer to the function within the body (ie, pass > 'clock_tick' as argument to sched#sched_in), the only think i could > think > of was to make it recursive, even though it isn't (because the > sched#sched_in call returns immediately). If the definition of the function refers to itself then it is recursive. It doesn't matter if it actually invokes itself or not. So, no, this is not a perversion of anything. -Mike ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners