FW: [mercury-users] Records

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Nov 3 15:42:56 AEDT 1999


> 	:- module foo3.
> 	:- interface.
> 	:- type t3
> 		---> private t3(
> 			const field1 :: int,
> 			private field2 :: int
> 		).
> 	:- implementation.

Putting private implementation details in the interface
section would be a really bad idea.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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