[mercury-users] Functor argument names in RTTI

Tyson Dowd trd at cs.mu.OZ.AU
Mon Sep 17 17:59:41 AEST 2001


Are you asking for field names or functor names?

On 17-Sep-2001, Michael Day <mikeday at bigpond.net.au> wrote:
> 
> Hi,
> 
> It would be handy to be able to access functor argument names through rtti
> when trying to automatically serialise arbitrary types. For example,
> extending get_functor which currently returns a list(type_desc) to return
> a list of pair(maybe(string), type_desc).
> 
> Does the source to source translation that implements field names permit
> this, or is it unlikely to be possible?
> 
> Michael
> 
> --------------------------------------------------------------------------
> mercury-users mailing list
> post:  mercury-users at cs.mu.oz.au
> administrative address: owner-mercury-users at cs.mu.oz.au
> unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
> subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
> --------------------------------------------------------------------------
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list