|
Home
News
Information
Overview
Features
Documentation
Papers
 Developers
 Events
 Reports
Mailing Lists
Developers
Users
Search
Download
Current Release
Snapshot
Old Releases
Related
Applications
MCORBA
Contributing Code
Contact
Search
|
Subject: Re: [mercury-users] uniqueness
From: Michael Day (mikeday@corplink.com.au)
Date: Fri Dec 01 2000 - 13:27:01 EST
> :- pred pack(a, b, c, structure).
> :- mode pack(di, di, di, uo) is det.
>
> pack(A, B, C, s(A, B, C)).
Oh and the inverse of this, unpack, does not appear to suffer from such a
restriction and requires no copy.
Michael
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users@cs.mu.oz.au
administrative address: owner-mercury-users@cs.mu.oz.au
unsubscribe: Address: mercury-users-request@cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request@cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
This mail archive was generated by hypermail 2b25 on Sun Dec 31 2000 - 00:40:03 EST.
|