caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] How to add a hook to Stream.junk?
@ 2012-11-21  1:07 bob zhang
  2012-11-21  1:35 ` Wojciech Meyer
  0 siblings, 1 reply; 8+ messages in thread
From: bob zhang @ 2012-11-21  1:07 UTC (permalink / raw)
  To: Caml List

Hi List,
   Does anyone know any trick to add a hook to Stream.junk,  I have
tried different ways,  but did not find any solution, yet
I want to trigger an action each time when I junk a token from the
stream. (copy the whole file from stdlib is fine, but I don't
know how to make the type checker happy :-()
-- 
Regards
-- Bob

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

end of thread, other threads:[~2012-11-21  3:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-21  1:07 [Caml-list] How to add a hook to Stream.junk? bob zhang
2012-11-21  1:35 ` Wojciech Meyer
2012-11-21  2:58   ` [Caml-list] " bobzhang
2012-11-21  3:37     ` Wojciech Meyer
2012-11-21  3:05   ` [Caml-list] " Francois Berenger
2012-11-21  3:34     ` Wojciech Meyer
2012-11-21  3:39       ` [Caml-list] " bobzhang
2012-11-21  3:45         ` Wojciech Meyer

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).