mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-19 07:45:09 +00:00
Estimated hours taken: 1 Branches: main Update coding standards for interfaces in the standard library. The intent is to improve the library reference guide. compiler/notes/coding_standards.html: Modify the coding standards to specify how descriptive comments for library procedures should be placed. By fixing a style (hopefully) the library reference guide should have a more consistent appearance. Specify that predmode syntax should be used in preference to a separate mode declaration if a predicates has only one mode. Specify that descriptive comments for procedures should ideally state under which conditions the procedure can fail (if it can) or throw an exception.