[mercury-users] Functor argument names in RTTI

Michael Day mikeday at bigpond.net.au
Mon Sep 17 13:07:22 AEST 2001


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
--------------------------------------------------------------------------



More information about the users mailing list