Re: References to values and weak references.

2000-11-08 Thread Fergus Henderson
On 08-Nov-2000, Simon Marlow <[EMAIL PROTECTED]> wrote: > > (2) the ability for FFI to link in values as weak external > > references. (In other words > > the reference doesn't have to be resolved and you can > > find out if it has been.) > > So assuming (1) has been implemented, I migh

Re: References to values and weak references.

2000-11-08 Thread George Russell
Simon Marlow wrote: [snip] > > (1) the ability for FFI to give me access to an external > > value as well as an external > > function, as in > >foreign import "default_arguments" defaultArguments :: Addr > > We have this. It's called "foreign label", but it's in an obscure part of >

RE: References to values and weak references.

2000-11-08 Thread Simon Marlow
> I have just come up against an application where I would like > the user to be > able (if required) to link in a file containing a set of > default options to the > application. So what I would IDEALLY like is > (1) the ability for FFI to give me access to an external > value as well as an

References to values and weak references.

2000-11-08 Thread George Russell
I have just come up against an application where I would like the user to be able (if required) to link in a file containing a set of default options to the application. So what I would IDEALLY like is (1) the ability for FFI to give me access to an external value as well as an external func