On 18/01/17 05:27, rikki cattermole wrote:
On 18/01/2017 3:56 AM, Shachar Shemesh wrote:
On 17/01/17 15:58, Adam D. Ruppe wrote:
On Tuesday, 17 January 2017 at 13:46:21 UTC, Vadim Lopatin wrote:
There is a workaround: it's possible to create DlangUI theme which
looks like native OSX app.
It
On 2017-01-18 08:22, Shachar Shemesh wrote:
IIRC, QT also uses native widgets when they are available (i.e. - on
anything other than Linux).
"As with Cocoa and Carbon, Qt provides widgets that look like those
described in the Human Interface Descriptions. Qt's widgets use HIThemes
to
On Tuesday, 17 January 2017 at 00:08:24 UTC, Nordlöw wrote:
How do I best initialize a D double to an exact mantissa and
exponent representation?
I'm specifically interested in
2^^i for all i in [min_exp, max_exp]
If it doesn't have to be D ;), it can be as simple as
On Tuesday, January 17, 2017 11:17:10 QAston via Digitalmars-d wrote:
> On Monday, 16 January 2017 at 19:45:33 UTC, Jonathan M Davis
>
> wrote:
> > I can see that as an argument not to add something that it's in
> > std.traits to __traits or why something should be added to
> > std.traits rather
https://issues.dlang.org/show_bug.cgi?id=16736
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16736
--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/1d6076760b1fe13a2b12c25a6361f99f087676d3
Fix Issue 16736 - fixed broken links
https://issues.dlang.org/show_bug.cgi?id=15154
bitter.ta...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
On Tuesday, 17 January 2017 at 08:58:33 UTC, Arun Chandrasekaran
wrote:
Interesting. Why doesn't the thread get GC'd in this case even
without any reference still active?
There will be a reference to it in druntime itself:
http://dlang.org/phobos/core_thread.html#.Thread.getThis
https://issues.dlang.org/show_bug.cgi?id=17098
--- Comment #2 from steven kladitis ---
It does not compile with 32 or 64 bit.
dmd -m64
it fails also and takes forever.
--
https://issues.dlang.org/show_bug.cgi?id=8471
--- Comment #5 from Andrei Alexandrescu ---
(In reply to Jakub Łabaj from comment #4)
> According to Steven's blog post
> (http://dlang.org/blog/2016/09/28/how-to-write-trusted-code-in-d/) I should
> "never use @trusted on template
https://issues.dlang.org/show_bug.cgi?id=16193
anonymous4 changed:
What|Removed |Added
Status|RESOLVED|REOPENED
https://issues.dlang.org/show_bug.cgi?id=16468
bitter.ta...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=15428
bitter.ta...@gmx.com changed:
What|Removed |Added
CC||meapineap...@gmail.com
--- Comment #2
On 1/17/17 12:08 PM, Mark wrote:
On Tuesday, 17 January 2017 at 09:17:56 UTC, Andrei Alexandrescu wrote:
On 1/17/17 9:32 AM, Eugene Wissner wrote:
Ah, well thanks. I don't think it makes much sense since it would be
easier to write a complete setter if the user needs extra checks.
Accessors
On Tuesday, 17 January 2017 at 16:40:57 UTC, kinke wrote:
If it doesn't have to be D ;), it can be as simple as
`core.stdc.math.ldexp(1, exponent)`. No CTFE though.
Isn't it a simple as
2.0^^exponent
?
On Tuesday, 17 January 2017 at 18:25:46 UTC, kinke wrote:
It should and I looked into that as well, but I didn't like the
implementation as loop:
https://github.com/dlang/phobos/blob/master/std/math.d#L5988
A special case for base x == 2 wouldn't hurt.
That seems strange. Why isn't that a
https://issues.dlang.org/show_bug.cgi?id=15428
bitter.ta...@gmx.com changed:
What|Removed |Added
CC||bitter.ta...@gmx.com
--- Comment #3
On Monday, 16 January 2017 at 11:20:16 UTC, Nordlöw wrote:
That's exactly my plan.
Plan:
https://github.com/dlang/phobos/pull/5038
Feedsback, please.
https://issues.dlang.org/show_bug.cgi?id=16309
bitter.ta...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
Alright some feedback.
It is rather disappointing that Warn and Abort only write to
stderr. Being able to specify the sink would be great. i may want
to log the issue or something.
There is option to throw on error.
Checked!(Checked!(int, ProperCompare), WithNaN) is rather
inelegent. Why
On Tuesday, 17 January 2017 at 06:36:58 UTC, Stefan Koch wrote:
Just found a bug with recursive functions, which is now fixed.
So time for some perf:
Impressive speedup! What remains? Are you adding more tests to
the Phobos unittests?
On Tuesday, 17 January 2017 at 20:21:34 UTC, Nordlöw wrote:
Is there a way to mimic C++-style `mutable` members in D?
sure: don't use `const`. otherwise — no, there is simply no way
to «mimic» 'em due to completely different meaning of `const` in
D and C++.
https://issues.dlang.org/show_bug.cgi?id=17104
Issue ID: 17104
Summary: "Real close to the machine" webpage error
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority:
https://issues.dlang.org/show_bug.cgi?id=15676
bitter.ta...@gmx.com changed:
What|Removed |Added
CC||bitter.ta...@gmx.com
--- Comment #1
Is there a way to mimic C++-style `mutable` members in D?
https://issues.dlang.org/show_bug.cgi?id=16193
--- Comment #18 from Dicebot ---
https://trello.com/c/ZQivF6Jj/105-bugzilla-github-integration-issue :(
--
https://issues.dlang.org/show_bug.cgi?id=17044
--- Comment #1 from anonymous4 ---
Or just do nothing for merges.
--
On Tuesday, 17 January 2017 at 11:53:16 UTC, Atila Neves wrote:
Same here.
Atila
No interest either. Have zilch problems with integers.
On Tuesday, 17 January 2017 at 19:07:21 UTC, Ali Çehreli wrote:
On 01/17/2017 01:25 AM, Erdem wrote:
> void main(string[] args)
> {
> Main.init(args);
> new MyWindow();
> Main.run();
> }
I have no experience with Gtkd but the code inside main looks
fundamentally wrong. One would
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #10 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/935d4ada9aeaaf5f105b75b84ca6ef72a053d962
Issue 16824 - std.experimental.allocator.dispose leaks
On Tuesday, 17 January 2017 at 20:47:35 UTC, ketmar wrote:
Is there a way to mimic C++-style `mutable` members in D?
sure: don't use `const`. otherwise — no, there is simply no way
to «mimic» 'em due to completely different meaning of `const`
in D and C++.
I'm aware of the difference. I'm
https://issues.dlang.org/show_bug.cgi?id=17098
Martin Nowak changed:
What|Removed |Added
OS|Windows |All
https://issues.dlang.org/show_bug.cgi?id=16406
bitter.ta...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
On 01/17/2017 01:25 AM, Erdem wrote:
> void main(string[] args)
> {
> Main.init(args);
> new MyWindow();
> Main.run();
> }
I have no experience with Gtkd but the code inside main looks
fundamentally wrong. One would expect you to do something with the
MyWindow object:
auto w
https://issues.dlang.org/show_bug.cgi?id=17065
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #5
https://issues.dlang.org/show_bug.cgi?id=17098
--- Comment #4 from Martin Nowak ---
dmd eventually finished after some whooping 14,5 minutes :o, but ran into a
codegen issue, same with 2.071.2, both on linux-64.
Internal error: backend/cgreg.c 405
865.86user 0.49system
What's the easiest way to print a double in maximum precision?
On Tuesday, 17 January 2017 at 20:50:34 UTC, Nordlöw wrote:
On Tuesday, 17 January 2017 at 20:47:35 UTC, ketmar wrote:
Is there a way to mimic C++-style `mutable` members in D?
sure: don't use `const`. otherwise — no, there is simply no
way to «mimic» 'em due to completely different meaning of
On Tuesday, 17 January 2017 at 21:50:42 UTC, Stefan Koch wrote:
There are still features to add :
- floating point.
- UTF-de/re-encodung.
- slicing
- concat
- pointer/ref
- member-function calls
But after this is done all the 1.0 goals are reached.
Forget something,
&& and || also needs to
On Tuesday, 17 January 2017 at 20:06:46 UTC, Nordlöw wrote:
On Tuesday, 17 January 2017 at 06:36:58 UTC, Stefan Koch wrote:
Just found a bug with recursive functions, which is now fixed.
So time for some perf:
Impressive speedup! What remains? Are you adding more tests to
the Phobos
On Tuesday, 17 January 2017 at 21:47:51 UTC, Stefan Koch wrote:
On Tuesday, 17 January 2017 at 20:06:46 UTC, Nordlöw wrote:
On Tuesday, 17 January 2017 at 06:36:58 UTC, Stefan Koch wrote:
Just found a bug with recursive functions, which is now fixed.
So time for some perf:
Impressive
On Tuesday, 17 January 2017 at 22:06:47 UTC, Nordlöw wrote:
So I reckon the Phobos unittests are quite incomplete, then?
Not really, I still use a fallback to the old interpreter for the
unimplemented features.
On Tuesday, 17 January 2017 at 22:11:21 UTC, Stefan Koch wrote:
Not really, I still use a fallback to the old interpreter for
the unimplemented features.
Does this mean that the newCTFE branch is usable now? And that I
get performance improvements for the expression nodes you have
https://issues.dlang.org/show_bug.cgi?id=17066
Dmitry Olshansky changed:
What|Removed |Added
Keywords||pull
On 1/17/17 1:16 PM, Bastiaan Veelo wrote:
On Monday, 16 January 2017 at 22:29:01 UTC, Dmitry Olshansky wrote:
I think left-recursion is better handled at the grammar level.
What I currently have is parser combinators level where adding
this transformation is awkward and too much magic IMO.
On Tuesday, 17 January 2017 at 20:21:34 UTC, Nordlöw wrote:
Is there a way to mimic C++-style `mutable` members in D?
You could store a ptr to the member outside:
import std.stdio;
private int* _pid;
struct A
{
int id;
this(int id)
{
On Tuesday, 17 January 2017 at 21:10:17 UTC, Dmitry Olshansky
wrote:
On 1/17/17 1:16 PM, Bastiaan Veelo wrote:
On Monday, 16 January 2017 at 22:29:01 UTC, Dmitry Olshansky
wrote:
I think left-recursion is better handled at the grammar level.
What I currently have is parser combinators level
https://issues.dlang.org/show_bug.cgi?id=15630
bitter.ta...@gmx.com changed:
What|Removed |Added
CC||bitter.ta...@gmx.com
--- Comment #1
On Friday, 13 January 2017 at 12:39:38 UTC, Robert burner Schadek
wrote:
This is the voting thread to decide if the proposed addition to
Phobos, std.experimental.checkedint, should be accepted.
To vote, please respond to this post. You have three options:
* Yes
* Yes with a single condition
*
On Wednesday, 18 January 2017 at 02:48:45 UTC, James Buren wrote:
Import the source file containing the external function instead
of writing that prototype. It should compile then.
This seems like a workaround more than a permanent solution. It
would work, but still. I'm also not sure about
On Wednesday, 18 January 2017 at 03:11:08 UTC, Samwise wrote:
On Wednesday, 18 January 2017 at 02:48:45 UTC, James Buren
wrote:
Import the source file containing the external function
instead of writing that prototype. It should compile then.
This seems like a workaround more than a permanent
On 18/01/2017 3:56 AM, Shachar Shemesh wrote:
On 17/01/17 15:58, Adam D. Ruppe wrote:
On Tuesday, 17 January 2017 at 13:46:21 UTC, Vadim Lopatin wrote:
There is a workaround: it's possible to create DlangUI theme which
looks like native OSX app.
It usually isn't the theme, it is the little
On Wednesday, 18 January 2017 at 03:25:47 UTC, Stefan Koch wrote:
On Wednesday, 18 January 2017 at 03:11:08 UTC, Samwise wrote:
On Wednesday, 18 January 2017 at 02:48:45 UTC, James Buren
wrote:
Import the source file containing the external function
instead of writing that prototype. It should
On Wednesday, 18 January 2017 at 00:23:37 UTC, pineapple wrote:
On Wednesday, 18 January 2017 at 00:09:42 UTC, Nordlöw wrote:
What's the easiest way to print a double in maximum precision?
https://github.com/pineapplemachine/mach.d/blob/master/mach/text/numeric/floats.d#L60
You can also try
On Fri, 13 Jan 2017 12:39:38 +, Robert burner Schadek wrote:
> This is the voting thread to decide if the proposed addition to Phobos,
> std.experimental.checkedint, should be accepted.
>
> To vote, please respond to this post. You have three options:
>
> * Yes * Yes with a single condition
https://issues.dlang.org/show_bug.cgi?id=17098
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #1
On 17/01/17 15:58, Adam D. Ruppe wrote:
On Tuesday, 17 January 2017 at 13:46:21 UTC, Vadim Lopatin wrote:
There is a workaround: it's possible to create DlangUI theme which
looks like native OSX app.
It usually isn't the theme, it is the little details of user interaction
that the native ones
On Wednesday, 18 January 2017 at 03:37:46 UTC, Samwise wrote:
extern int getReturnCode() {
return 4;
}
still does not compile using the command from above. I may very
well be misunderstanding you though.
yep. *both* prototype and real declaration should be `extern(C)`.
`(C)` part is
On Wednesday, 18 January 2017 at 00:09:42 UTC, Nordlöw wrote:
What's the easiest way to print a double in maximum precision?
%.6g for floats and %.17g for doubles. This is for example what's
used on std.json to get a perfect conversion from string to
value. the number is the maximum number
https://issues.dlang.org/show_bug.cgi?id=17087
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/7cf3c764da8b85f9d7054b0895384f3a86ce2684
fix Issue 17087 - [REG2.072] Wrong generated with cfloat and
https://issues.dlang.org/show_bug.cgi?id=16278
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16278
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/bdf0df926f90b9243932e2ff76f79de644224b26
Fix issue #16278 - Do not emit TypeInfo for speculative
Alright. For the sake of this argument, I'm going to post all the
stuff about a really tiny boring program that quite literally
does nothing, even though I found this issue when I was working
with a much larger project with more functions. Basically I'm
getting errors when I attempt to compile
Import the source file containing the external function instead
of writing that prototype. It should compile then.
On Wednesday, 18 January 2017 at 00:09:42 UTC, Nordlöw wrote:
What's the easiest way to print a double in maximum precision?
https://github.com/pineapplemachine/mach.d/blob/master/mach/text/numeric/floats.d#L60
You can also try the formatting directive "%.20f" but unlike the
former I can't
https://issues.dlang.org/show_bug.cgi?id=17087
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Saturday, 14 January 2017 at 02:28:34 UTC, nbro wrote:
Hi!
I've been following D for at least one year. I like it and I
think it's a very good programming language, even though I do
not agree with everything it's being done.
One thing that has saddened me is seeing a lot of D's users
https://issues.dlang.org/show_bug.cgi?id=12125
--- Comment #7 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/0dc5d1dd68c2bcffb9a501f2e37ff28be3abd87e
Merge pull request #1691 from rainers/nodefaultlib
Hi,
I was just looking at an interesting function from
http://codepad.org/lSDTFd7E :
void printFields(T)(T args) {
auto values = args.tupleof;
size_t max;
size_t temp;
foreach (index, value; values) {
temp = T.tupleof[index].stringof.length;
if (max < temp) max = temp;
}
On 01/17/2017 04:37 PM, Nestor wrote:
Hi,
I was just looking at an interesting function from
http://codepad.org/lSDTFd7E :
void printFields(T)(T args) {
auto values = args.tupleof;
size_t max;
size_t temp;
foreach (index, value; values) {
temp = T.tupleof[index].stringof.length;
On Saturday, 14 January 2017 at 03:05:44 UTC, nbro wrote:
On Saturday, 14 January 2017 at 02:57:05 UTC, ketmar wrote:
On Saturday, 14 January 2017 at 02:28:34 UTC, nbro wrote:
How could you do such a thing?
freakin' easy: just pay people to do what you want. either
that, or people will keep
On Tuesday, 17 January 2017 at 22:19:39 UTC, Nordlöw wrote:
On Tuesday, 17 January 2017 at 22:11:21 UTC, Stefan Koch wrote:
Not really, I still use a fallback to the old interpreter for
the unimplemented features.
Does this mean that the newCTFE branch is usable now? And that
I get
https://issues.dlang.org/show_bug.cgi?id=17066
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/4d19d0ad3aab77a9a4a9b2dedaccbacfdeb4e45e
Fix issue 17066
On Monday, 16 January 2017 at 13:11:38 UTC, pineapple wrote:
On Monday, 16 January 2017 at 09:33:23 UTC, Nestor wrote:
PS. Isn't this approach considered "cheating" in quines? ;)
I'm afraid so - while the empty program has been technically
accepted as being a quine (e.g.
On Sunday, 15 January 2017 at 01:26:07 UTC, Dmitry Olshansky
wrote:
Two key areas of focus are (compared to say Pegged):
- performance, on par with hand-written code or die
I didn't profile, but apart from the time-complexity that is
inherent to straight forward recursive descent parsers like
I can't find nextUp(x) and nextDown(x) described in
https://dlang.org/d-floating-point.html
Are these D1 only? Is there anything like it in D2/Phobos?
https://issues.dlang.org/show_bug.cgi?id=16981
Martin Nowak changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=17087
--- Comment #3 from Walter Bright ---
https://github.com/dlang/dmd/pull/6460/
--
On 1/17/17 9:32 AM, Eugene Wissner wrote:
Ah, well thanks. I don't think it makes much sense since it would be
easier to write a complete setter if the user needs extra checks.
Accessors are there only for the generation of the standard methods,
that just get or set some object property.
https://issues.dlang.org/show_bug.cgi?id=17087
Walter Bright changed:
What|Removed |Added
CC|
On Tuesday, 17 January 2017 at 08:58:33 UTC, Arun Chandrasekaran
wrote:
Interesting. Why doesn't the thread get GC'd in this case even
without any reference still active?
basically 'cause there is no reliable way to correctly "abort" a
thread. nobody knows what is really going on inside it,
On Monday, 16 January 2017 at 22:08:56 UTC, JN wrote:
Am I correctly understanding, that after going out of scope,
it's possible for GC to destroy my thread before the file
finishes loading? How to prevent GC from destroying my thread
before it finishes and make sure the file is loaded
I'd like to filter Treeview data according to user input. How
should I do that?
When I run this program it gives segmentation fault error.
import gtk.Main;
import gtk.MainWindow;
import gtk.Box;
import gtk.Entry;
import gtk.EditableIF;
import gtk.TreeModelFilter;
import gtk.TreeView;
import
On Tuesday, 17 January 2017 at 08:12:50 UTC, ketmar wrote:
import core.thread;
import core.time;
import std.stdio;
void threadStarter (string path) {
new Thread({
for (;;) {
writeln(path);
Thread.sleep(1.seconds);
}
}).start();
}
class A {
~this () { import
On 1/17/17 8:26 AM, Eugene Wissner wrote:
On Friday, 9 December 2016 at 18:53:55 UTC, Andrei Alexandrescu wrote:
Love it, and was toying with similar ideas too. One good extension is
to add a predicate to the setter, which guards the assignment. -- Andrei
What kind of predicate do you mean?
I have been around the D community for about a year and I have
been enjoying the language - thanks to the creators! I think it
would be good to have a reading list outside the D materials.
Ali's book is a great introduction but if you want to be a useful
D programmer you will need more,
On Tuesday, 17 January 2017 at 12:45:09 UTC, rikki cattermole
wrote:
Ironically I wrote the only (e)book on CTFE[0].
Its a bit out of date and needs some work, but if you want to
give me some feedback please email me and I'll get you a coupon
(free).
[0] https://leanpub.com/ctfe
Thanks,
On Tuesday, 17 January 2017 at 12:38:43 UTC, strymon wrote:
I have been around the D community for about a year and I have
been enjoying the language - thanks to the creators! I think it
would be good to have a reading list outside the D materials.
Ali's book is a great introduction but if you
On Saturday, 14 January 2017 at 03:26:40 UTC, ketmar wrote:
On Saturday, 14 January 2017 at 03:05:44 UTC, nbro wrote:
On Saturday, 14 January 2017 at 02:57:05 UTC, ketmar wrote:
[...]
Serious users, to whom I'm directing this post, who really
believe in D's potential, should try to
On Tuesday, 17 January 2017 at 13:10:56 UTC, aberba wrote:
I don't know how or when or who will tackle such issues, but
you can write a blog series and discuss the stuff you learn as
and when you do. Others will surely benefit.
I agree that blogging is a good idea, however there is still a
On Monday, 16 January 2017 at 22:29:01 UTC, Dmitry Olshansky
wrote:
I think left-recursion is better handled at the grammar level.
What I currently have is parser combinators level where adding
this transformation is awkward and too much magic IMO.
Handling left-recursion by grammar
On 18/01/2017 12:38 AM, strymon wrote:
On Saturday, 14 January 2017 at 02:28:34 UTC, nbro wrote:
Hi!
I've been following D for at least one year. I like it and I think
it's a very good programming language, even though I do not agree with
everything it's being done.
One thing that has
On Tuesday, 17 January 2017 at 06:36:58 UTC, Stefan Koch wrote:
real0m1.993s
user0m1.872s
sys 0m0.120s
Just a tip, if you use (maybe install) /bin/time, you also get
memory usage.
0.00user 0.00system 0:00.00elapsed 85%CPU (0avgtext+0avgdata
6372maxresident)k
0inputs+0outputs
On Tuesday, 17 January 2017 at 10:49:14 UTC, Enjoys Math wrote:
Z add(Z...)(Z a...) {
return a + b;
}
func[] operatorPool = [!int];
Variant library isn't liking that. Removing & causes another
error.
Essentially I want a pool of all operators that I define, but
these operators can
On Saturday, 14 January 2017 at 02:28:34 UTC, nbro wrote:
Hi!
I've been following D for at least one year. I like it and I
think it's a very good programming language, even though I do
not agree with everything it's being done.
One thing that has saddened me is seeing a lot of D's users
On Monday, 16 January 2017 at 19:51:38 UTC, Jonathan M Davis
wrote:
On Saturday, January 14, 2017 20:54:11 Jack Stouffer via
Digitalmars-d wrote:
On Friday, 13 January 2017 at 12:39:38 UTC, Robert burner
Schadek
wrote:
> ...
Overall, the code looks good and the design looks solid.
However,
On Monday, 16 January 2017 at 14:15:16 UTC, Russel Winder wrote:
Is anyone out there doing a property-based testing framework
for D?
https://github.com/atilaneves/unit-threaded/blob/master/source/unit_threaded/property/package.d
Atila
On Tuesday, 17 January 2017 at 09:17:56 UTC, Andrei Alexandrescu
wrote:
On 1/17/17 9:32 AM, Eugene Wissner wrote:
Ah, well thanks. I don't think it makes much sense since it
would be
easier to write a complete setter if the user needs extra
checks.
Accessors are there only for the generation
On Saturday, 14 January 2017 at 02:28:34 UTC, nbro wrote:
Hi!
I've been following D for at least one year. I like it and I
think it's a very good programming language, even though I do
not agree with everything it's being done.
One thing that has saddened me is seeing a lot of D's users
Z add(Z...)(Z a...) {
return a + b;
}
func[] operatorPool = [!int];
Variant library isn't liking that. Removing & causes another
error.
Essentially I want a pool of all operators that I define, but
these operators can be of differing types (which I should be able
to
1 - 100 of 110 matches
Mail list logo