[m-rev.] diff: add integer.(det_)from_base_string/2
Julien Fischer
juliensf at csse.unimelb.edu.au
Thu May 10 14:08:24 AEST 2007
On Thu, 10 May 2007, Paul Bone wrote:
>
> On 10/05/2007, at 1:51 PM, Julien Fischer wrote:
>
>>
>> library/integer.m:
>> Add the functions integer.from_base_string/2 and
>> integer.det_from_base_string/2.
>>
>> Index: library/integer.m
>> ===================================================================
>> RCS file: /home/mercury/mercury1/repository/mercury/library/integer.m,v
>> retrieving revision 1.27
>> diff -u -r1.27 integer.m
>> --- library/integer.m 23 Oct 2006 00:32:57 -0000 1.27
>> +++ library/integer.m 10 May 2007 02:06:04 -0000
>> @@ -42,6 +42,18 @@
>>
>> :- func integer.det_from_string(string) = integer.
>>
>> + % Convert a string in the specified base (2-36) to an integer.
>> + % The string must contain one or more digits in the specified base,
>> + % optionally preceded by a plus or minus sign. For bases > 10, digits
>> + % 10 to 35 are represented by the letters A-z or a-z. If the string
> Check your case in A-Z or a-z.
>
> That's all I noticed.
Fixed.
Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list