From: Peter Zotov <whitequark@whitequark.org>
To: Philippe Veber <philippe.veber@gmail.com>
Cc: caml users <caml-list@inria.fr>, caml-list-request@inria.fr
Subject: Re: [Caml-list] Not letting channels escape.
Date: Fri, 08 Aug 2014 15:22:09 +0400 [thread overview]
Message-ID: <d55c61f509db9b0b27e646333792cfff@whitequark.org> (raw)
In-Reply-To: <CAOOOohRCFcHLsgkpVrknKcQG1asP6WwUwvwmMuZbPV72gitL+g@mail.gmail.com>
On 2014-08-08 14:23, Philippe Veber wrote:
> Dear all,
>
> My question is the following: is there a way to have the compiler
> check resources are not used after they are closed?
Linear types[1] are designed to enforce this invariant. They're used
in e.g. Rust, Cyclone or LinearML.
[1]: http://c2.com/cgi/wiki?LinearTypes
--
Peter Zotov
next prev parent reply other threads:[~2014-08-08 11:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-08 10:23 Philippe Veber
2014-08-08 11:22 ` Peter Zotov [this message]
2014-08-08 11:30 ` Ben Millwood
2014-08-08 14:49 ` Ben Millwood
2014-08-08 15:44 ` Markus Mottl
2014-08-08 16:01 ` Ben Millwood
2014-08-08 17:21 ` Markus Mottl
2014-08-08 17:37 ` Gabriel Scherer
2014-08-08 18:23 ` Markus Mottl
2014-08-08 18:28 ` Frédéric Bour
2014-08-08 19:30 ` Markus Mottl
2014-08-08 19:45 ` Frédéric Bour
2014-08-08 20:34 ` Markus Mottl
2014-08-10 18:06 ` Philippe Veber
2014-08-11 9:07 ` Ben Millwood
2014-08-11 15:26 ` Goswin von Brederlow
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=d55c61f509db9b0b27e646333792cfff@whitequark.org \
--to=whitequark@whitequark.org \
--cc=caml-list-request@inria.fr \
--cc=caml-list@inria.fr \
--cc=philippe.veber@gmail.com \
/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