On Tuesday 14 September 2010 23:26:57 Jonathan M Davis wrote:
> On Tuesday 14 September 2010 22:42:07 Borden Rhodes wrote:
> > Good morning, list,
> >
> > I know that D has support for ranges in for-each statements and in array
> > bounds checking, but I'm curious if it also has a facility for
> >
On Tuesday 14 September 2010 22:42:07 Borden Rhodes wrote:
> Good morning, list,
>
> I know that D has support for ranges in for-each statements and in array
> bounds checking, but I'm curious if it also has a facility for compile-time
> range checking or assertions on individual variables.
>
> F
Good morning, list,
I know that D has support for ranges in for-each statements and in array
bounds checking, but I'm curious if it also has a facility for compile-time
range checking or assertions on individual variables.
For example, using the Java Tutorial's venerable Bicycle class, say I
h
bearophile Wrote:
> jicman:
> > Where can I download your dlibs1 library?
>
> This is D1 code, it's slow because I usually print only few numbers like this:
>
>
> string thousands(TyIntegral)(TyIntegral n, string separator="_") {
> static assert (IsType!(TyIntegral, byte, ubyte, short, usho
bearophile Wrote:
> Jonathan M Davis:
> > If you want that, I believe that you're going to have to code it yourself.
>
> It's a common need, I have it in my dlibs1, and I think that eventually it
> needs to be added to Phobos (so far none of my patches to Phobos I have put
> in Bugzila has bein
jicman:
> Where can I download your dlibs1 library?
This is D1 code, it's slow because I usually print only few numbers like this:
string thousands(TyIntegral)(TyIntegral n, string separator="_") {
static assert (IsType!(TyIntegral, byte, ubyte, short, ushort, int, uint,
long, ulong),
On Tuesday 14 September 2010 18:39:16 jicman wrote:
> bearophile Wrote:
> > Jonathan M Davis:
> > > If you want that, I believe that you're going to have to code it
> > > yourself.
> >
> > It's a common need, I have it in my dlibs1, and I think that eventually
> > it needs to be added to Phobos (s
bearophile Wrote:
> Jonathan M Davis:
> > If you want that, I believe that you're going to have to code it yourself.
>
> It's a common need, I have it in my dlibs1, and I think that eventually it
> needs to be added to Phobos (so far none of my patches to Phobos I have put
> in Bugzila has bein
Stewart Gordon Wrote:
> On 14/09/2010 21:00, jicman wrote:
> >
> > Greetings.
> >
> > I have been trying, for more than an hour, to get information on how
> > to format a number (2342.23) to $2,342.23.
>
> Just wondering, where have you been searching for this information?
Google gave me a bunch
Jonathan M Davis:
> If you want that, I believe that you're going to have to code it yourself.
It's a common need, I have it in my dlibs1, and I think that eventually it
needs to be added to Phobos (so far none of my patches to Phobos I have put in
Bugzila has being used, I don't know why, so I
On Tuesday, September 14, 2010 13:00:22 jicman wrote:
> Greetings.
>
> I have been trying, for more than an hour, to get information on how to
> format a number (2342.23) to $2,342.23. I can write a little function to
> do this, but doesn't format already has this builtin? I searched for
> vspri
On 14/09/2010 21:00, jicman wrote:
Greetings.
I have been trying, for more than an hour, to get information on how
to format a number (2342.23) to $2,342.23.
Just wondering, where have you been searching for this information?
I can write a little function to do this, but doesn't format alre
Greetings.
I have been trying, for more than an hour, to get information on how to format
a number (2342.23) to $2,342.23. I can write a little function to do this, but
doesn't format already has this builtin? I searched for vsprintf(), printf,
etc., and they all have a glyphic way of saying
gmx.com seems to deal with mailing list e-mails correctly (by actually putting
the ones you sent to the list in your inbox when they come from the list), and
it has free imap and lots of disk space just like gmail (not to mention that it
uses proper folders instead of labels), so I've switched o
On Tuesday, September 14, 2010 10:41:53 Ali Çehreli wrote:
> bearophile wrote:
> > I think the term "Informatics" is better than "Computer Science" for
> > this field we are talking about
>
> On a related note, "programmers" are called "software engineers" in the
> US, at least in Silicon Valley
bearophile wrote:
> I think the term "Informatics" is better than "Computer Science" for this
> field we are talking about
On a related note, "programmers" are called "software engineers" in the
US, at least in Silicon Valley.
> "Computer Science" is mostly misleading, both words don't fit ve
Cavalary wrote:
> Yeah, one of the reasons why it made sense to me I guess, as the
> term's "informatica" in Romanian
Getting back to the tutorial question, with the remote chance that you
know Turkish as well, there is
http://ddili.org/ders/d/index.html
That tutorial still uses std.cstrea
On 9/11/10 3:00 PM, shd wrote:
Hello,
I'm having a problem in passing a value to char* expecting function
in D 2.0. Already tried:
to!(char*)("my string");
but it seems like there (Phobos) is no template like this. Then,
tried:
cast(char*)to!(char[])("my string")
which looked ok, but i think
On 13/09/2010 20:58, Jesse Phillips wrote:
There is a question on using COM with D and how it simplifies using COM[1]. I
haven't done it myself and don't have any examples.
http://stackoverflow.com/questions/3698910/d-support-for-com
http://www.dsource.org/projects/juno/wiki
Juno contains a
Jacob Carlborg wrote:
On 2010-09-10 16:53, Pelle wrote:
On 09/10/2010 03:20 PM, Jacob Carlborg wrote:
On 2010-09-07 22:32, Don wrote:
Jacob Carlborg wrote:
On 2010-09-07 17:29, Don wrote:
Jacob Carlborg wrote:
I'm reading http://www.digitalmars.com/d/2.0/declaration.html#Typeof
where it say
20 matches
Mail list logo