Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Preventing values from escaping a context
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-02-09 (17:14)
From: Rich Neswold <rich.neswold@g...>
Subject: Re: [Caml-list] Preventing values from escaping a context
On Mon, Feb 8, 2010 at 9:38 PM, Jacques Garrigue <> wrote:

> From: Rich Neswold <>
> > My question is this: Is there a way to make the compiler reject a
> function
> > parameter from returning the context parameter?
> The language is just too expressive...
> You should rather look into adding a dynamic flag to your context,
> causing a runtime error if you use it later.

This is the way it works now, so I'll continue to use it. I'm still new to
the functional language scene and wasn't sure if I was missing something

Thanks for your time!


Google Reader:
Jabber ID: