From: Florian Weimer <fw@deneb.enyo.de>
To: "Stephen Brackin" <stephen.brackin@verizon.net>
Cc: <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Ask-if-continue wrapper?
Date: Wed, 28 Dec 2005 10:53:55 +0100 [thread overview]
Message-ID: <87wthppmx8.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <0IS700AHX9M9TKT2@vms042.mailsrvcs.net> (Stephen Brackin's message of "Wed, 28 Dec 2005 03:44:29 -0500")
* Stephen Brackin:
> I'd like an OCaml function, which I'll call continueq, with the property
> that for any function f with argument(s) fargs,
>
> continueq f fargs tsecs defaultval
>
> starts evaluating f on fargs and lets this evaluation proceed for up to
> tsecs seconds.
Other folks call this "asynchronous transfer of control", and it is
generally thought to be a terrible mistakes once you've put it into a
language. It leads to horrible complexities and tends to make lots of
good library code incorrect.
next prev parent reply other threads:[~2005-12-28 9:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-28 8:44 Stephen Brackin
2005-12-28 9:36 ` [Caml-list] " Jonathan Roewen
2005-12-28 9:53 ` Florian Weimer [this message]
2005-12-28 18:34 ` Xavier Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wthppmx8.fsf@mid.deneb.enyo.de \
--to=fw@deneb.enyo.de \
--cc=caml-list@yquem.inria.fr \
--cc=stephen.brackin@verizon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox