[mercury-users] tuple access

Simon Taylor staylr at gmail.com
Mon Sep 24 19:26:18 AEST 2007


On 9/24/07, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
>
> On Mon, 24 Sep 2007, Nicholas Nethercote wrote:
>
> > Is there a standard function for extracting the Nth element of a tuple?
>
> No.

deconstruct.arg/4 should work.

Simon.
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list