[m-rev.] for review: Add float argument support to getopt module.

Paul Bone pbone at csse.unimelb.edu.au
Tue Sep 30 11:39:26 AEST 2008


On Tue, Sep 30, 2008 at 11:24:38AM +1000, Julien Fischer wrote:
> 
> On Tue, 30 Sep 2008, Paul Bone wrote:
> 
> >
> >For review by anyone.
> >
> >Estimated hours taken: 1
> >Branches: main
> >
> >Add two new argument types to the getopt module: float and maybe_float.  
> >These
> >accept floating point arguments using string.to_float/2
> >
> >library/getopt.m:
> >	Add support for float and maybe_float arguments.
> >
> >NEWS:
> >	Announce change.
> 
> I don't think that this change is worth adding due to the fact that the
> float conversion may not be what the user actually wants.  I think float
> arguments to command line options would better be handled as strings and
> the user can choose what to do when they are processed.

Okay.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20080930/b38b0f26/attachment.sig>


More information about the reviews mailing list