[m-dev.] taking the address of field access functions

Ian MacLarty maclarty at cs.mu.OZ.AU
Mon Jul 3 15:00:03 AEST 2006


On Sun, Jul 02, 2006 at 07:09:05PM -0700, Peter Hawkins wrote:
> Hi...
> 
> On Jun 29, 2006, at 7:32 PM, Ralph Becket wrote:
> 
> >I would support a change to the language allowing the user to  
> >optionally
> >specify the usable modes for field access functions without having to
> >provide implementations.
> 
> Can't you already do this? As described in the reference manual,  
> section 3.4.1, you can add a mode declaration for a field access  
> function without providing an implementation.
> 

Ah, thanks.  Yes, that works except you have to give both a mode and a
func declaration, indicating a bug in either the compiler or reference
manual.

Ian.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list