[m-rev.] diff: update programming style in tests/hard_coded

Julien Fischer jfischer at opturion.com
Thu Jan 7 13:37:08 AEDT 2021

Update programming style in tests/hard_coded.

     Update programming style, unless doing so would change
     the meaning of the test, in particular:

     - use '.' as a module qualifier in place of '__'
     - use {write,print}_line where appropriate
     - use if-then-else in place of C -> T ; E
     - use state variables in place of DCGs

     Document what the expected outputs correspond to.

     Use a uniform module qualifier in the output.

     Conform to the above change.


(Diff attached.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HARD_CODED.diff.gz
Type: application/gzip
Size: 30508 bytes
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210107/2218d14d/attachment-0001.gz>

More information about the reviews mailing list