DIFF: add prolog version of string__from_rev_char_list
Peter David ROSS
petdr at cs.mu.OZ.AU
Mon Jun 1 18:52:59 AEST 1998
Hi,
Can someone review this? (Not bad for 3 months work heh! ;) )
Pete.
===================================================================
Estimated hours taken: 0.1
library/string.nu.nl:
Add the code for string__from_rev_char_list, so that the prolog
versions of the compiler can run.
Index: string.nu.nl
===================================================================
RCS file: /home/staff/zs/imp/mercury/library/string.nu.nl,v
retrieving revision 1.19
diff -r1.19 string.nu.nl
95a96,101
>
> string__from_rev_char_list(RevChars, Str) :-
> list__reverse(RevChars, Chars),
> string__from_char_list(Chars, Str).
>
> %-----------------------------------------------------------------------------%
----
+----------------------------------------------------------------------+
| Peter Ross M Sci/Eng Melbourne Uni |
| petdr at cs.mu.oz.au WWW: www.cs.mu.oz.au/~petdr/ ph: +61 3 9344 9158 |
+----------------------------------------------------------------------+
More information about the developers
mailing list