[mercury-users] Documentation for io module.

Bartlomiej Szymczak rhywek at gmail.com
Wed Jul 11 19:27:14 AEST 2007


I think that the documentation for io module is lacking some vital information.

I've just spent some time debugging my code, as I didn't know what
could be a possible problem. It turned out that io.read_line_as_string
is actually returning the line together with the newline character,
which came as a big surprise to me.

I think this fact should be reflected in the documentation, especially
that other languages I've been using don't leave the newline in the
result, which is usually much more convenient.

Best regards,
Bartlomiej Antoni Szymczak

Gmail: rhywek at gmail.com
Work mail: bas at imm.dtu.dk
DTU office: 321/129
DTU tel.: +4545253892
Mobile: +4520789323
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au

More information about the users mailing list