April 07, 2012 Re: SUL for Posix | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | On 2012-04-07 14:36, Stewart Gordon wrote: > On 05/04/2012 14:51, Jacob Carlborg wrote: > <snip> >> http://dlang.org/phobos/std_getopt.html >> >> But it might not do what you want. > > Where is the code in std.getopt that has any relevance whatsoever to > what smjg.libs.util.datetime or smjg.libs.util.commandline is for? > > Stewart. Both std.getopt and mjg.libs.util.commandline handle command line arguments? -- /Jacob Carlborg |
April 07, 2012 Re: SUL for Posix | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 07/04/2012 17:54, Jacob Carlborg wrote:
<snip>
> Both std.getopt and mjg.libs.util.commandline handle command line
> arguments?
What's that to do with anything?
If the code I need to finish smjg.libs.util.commandline is somewhere in std.getopt, please tell me where exactly it is.
If it isn't, then why did you refer me to it? That's like telling someone who's writing a bigint library and struggling to implement multiplication to just look in std.math. After all, they both handle numbers.
Stewart.
|
April 07, 2012 Re: SUL for Posix | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | On 2012-04-07 19:57, Stewart Gordon wrote: > On 07/04/2012 17:54, Jacob Carlborg wrote: > <snip> >> Both std.getopt and mjg.libs.util.commandline handle command line >> arguments? > > What's that to do with anything? > > If the code I need to finish smjg.libs.util.commandline is somewhere in > std.getopt, please tell me where exactly it is. > > If it isn't, then why did you refer me to it? That's like telling > someone who's writing a bigint library and struggling to implement > multiplication to just look in std.math. After all, they both handle > numbers. > > Stewart. I don't know what your module is supposed to do. -- /Jacob Carlborg |
April 07, 2012 Re: SUL for Posix | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 07/04/2012 20:16, Jacob Carlborg wrote: <snip> > I don't know what your module is supposed to do. Then how about reading its documentation? http://pr.stewartsplace.org.uk/d/sutil/doc/commandline.html If there's something you don't understand about it, this is the issue that needs to be addressed, rather than wildly guessing that some Phobos module provides the answer. Stewart. |
Copyright © 1999-2021 by the D Language Foundation