[m-rev.] for review: new foreign_type syntax

Tyson Dowd trd at cs.mu.OZ.AU
Fri Dec 7 16:47:42 AEDT 2001


On 06-Dec-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 06-Dec-2001, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > > s/not implemented for C backends/not supported for C/
> > > (We should be talking about languages, not backends.)
> > > 
> > > Also it would be a good idea to mention here that the
> > > `c_pointer' type can be used instead (giving an example).
> > 
> > I can mention it, but perhaps we should have given examples when
> > we added c_pointer to the library...
> 
> Actually we did: see the "Using C pointers" section of the "C interface"
> chapter.
> 
> But if the "Interfacing with foreign code" is intended to eventually
> suffice as a replacement for the "C interface" chapter, then it should
> be mentioned here too.

In the end I decided that a link would be enough at the moment.
I could cut and paste the documentation over, but it seems a bit silly while
there is nothing new to add (e.g. a working foreign_type for C).

Hopefully this is OK.

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list