1:- module(
    2  code_ext,
    3  [
    4    put_codes/1, % +Codes
    5    put_codes/2  % +Out:ostream, +Codes
    6  ]
    7).

Extended support for codes

*/

   13:- use_module(library(apply)).
 put_codes(+Codes:list(code)) is det
 put_codes(+Out:ostream, +Codes:list(code)) is det
See also
- Wrappers around put_code/1 that work on lists of codes and that can write to an arbitrary output stream.
   25put_codes(Codes):-
   26  maplist(put_code, Codes).
   27
   28
   29
   30put_codes(Out, Codes):-
   31  maplist(put_code(Out), Codes)