[mercury-users] Re: your mail

Gregory D. Weber gdweber at indiana.edu
Wed Aug 4 04:12:38 AEST 2004


Thanks for the five tips on Mercury programming style.
Would you mind elaborating on this one:

Ralph Becket writes:
...
 > 
 > (d) it's a good idea to fully qualify predicate names imported from
 > other modules (types and functions are usually best left unqualified),
 > so write `io__print' rather than just `print';
 > 
...

If it's good to fully qualify imported predicates, 
why not also types and functions?

-- 
Gregory D. Weber

Associate Professor of Computer Science, Indiana University East
2325 Chester Boulevard, Richmond, Indiana 47374-1289, U.S.A.
Telephone: (765) 973-8420         World-Wide Web http://mypage.iu.edu/~gdweber/

----
ASCII plain text is the document format that maximizes readability and 
minimizes hassle and hazard.  It is the format of the official documents
defining Internet protocols (http://www.rfc-editor.org/).


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