[mercury-users] Preferred coding style for switches

Gustavo A. Ospina gos at info.fundp.ac.be
Fri Dec 10 04:18:02 AEDT 1999


I had a copy/paste error in the code for p_barI/2. I'm very sorry.

p_barI(Y, X) :-
	(
		Y = foo1,
		...
	;
		Y = foo2,
		...
	;
	...
	;
		Y = fooM, %% <--- Here it's fooM
		...
	).

+ Gustavo.
--------------------------------------------------------------------------
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