On Wednesday, 20 June 2018 at 08:16:21 UTC, Mike Parker wrote:
This is the feedback thread for the first round of Community
Review for DIP 1015, "Deprecation and removal of implicit
conversion from integer and character literals to bool":
https://issues.dlang.org/show_bug.cgi?id=18984
--- Comment #4 from Manu ---
This is closed right?
--
On Thursday, 21 June 2018 at 03:04:46 UTC, Computermatronic wrote:
On Thursday, 21 June 2018 at 02:44:12 UTC, Flaze07 wrote:
when I do
Tuple!(uint, "first", uint, "second")[string] what; //I tried
aliasing the tuple as well
what["something"].first = 20;
I get range error
but when I do
On Thursday, 21 June 2018 at 02:44:12 UTC, Flaze07 wrote:
when I do
Tuple!(uint, "first", uint, "second")[string] what; //I tried
aliasing the tuple as well
what["something"].first = 20;
I get range error
but when I do
uint[string] what2;
what2 = 20;
I get none of those range error, so...how
when I do
Tuple!(uint, "first", uint, "second")[string] what; //I tried
aliasing the tuple as well
what["something"].first = 20;
I get range error
but when I do
uint[string] what2;
what2 = 20;
I get none of those range error, so...how do I use tuple as value
type for associative array ?
https://issues.dlang.org/show_bug.cgi?id=19011
Issue ID: 19011
Summary: visualD - not able to return to previous location
after goto definition shortcut
Product: D
Version: D2
Hardware: x86_64
OS: Windows
On Wednesday, 20 June 2018 at 16:06:15 UTC, Ali wrote:
On Wednesday, 20 June 2018 at 13:21:30 UTC, Mike Parker wrote:
If you saw Bastiaan Veelo's DConf 2017 presentation, you'll
know that his employer was evaluating D as a candidate for
migrating their code base away from Extended Pascal.
https://issues.dlang.org/show_bug.cgi?id=19010
Issue ID: 19010
Summary: new fails on dynamic array aliases
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
On Wednesday, 20 June 2018 at 22:46:16 UTC, infinityplusb wrote:
I'm trying to reacquaint myself with D, and Vibe in particular.
I notice that some of my previous working apps now don't work.
While going through the tour.dlang page, I can't seem to get
any of those sample apps working either.
I'm trying to reacquaint myself with D, and Vibe in particular.
I notice that some of my previous working apps now don't work.
While going through the tour.dlang page, I can't seem to get any
of those sample apps working either. Nor do the apps in Vibe's
github page appear to be up to date
On Wednesday, 20 June 2018 at 05:49:15 UTC, Dukc wrote:
On Wednesday, 20 June 2018 at 03:44:58 UTC, Jordan Wilson wrote:
Is there anything I can do to improve zip, before I go ahead
and change to the faster but slightly less readable enumerate?
The problem might be that zip checks both arrays
On Saturday, 16 June 2018 at 02:44:04 UTC, Jonathan M Davis wrote:
* The null conditional operator `?.`
It's been discussed before, and maybe we'll get it or something
like it at some point, but it really wouldn't help much with
idiomatic D. The average D program does a _lot_ less with
On Wednesday, 20 June 2018 at 19:57:55 UTC, jmh530 wrote:
I suppose that. [snip]
I suppose that would be good.
On 06/20/2018 08:06 AM, rikki cattermole wrote:
This board is for the D programming language.
The one you want is https://forum.dlang.org/group/c++
And the Lesson 1 he wants is http://ddili.org/ders/d.en/hello_world.html :o)
Ali
On Wednesday, 20 June 2018 at 16:10:26 UTC, H. S. Teoh wrote:
On Wed, Jun 20, 2018 at 01:30:56PM +, Chris M. via
Digitalmars-d wrote:
On Wednesday, 20 June 2018 at 08:16:21 UTC, Mike Parker wrote:
> This is the feedback thread for the first round of Community
> Review for DIP 1015,
On Wednesday, 20 June 2018 at 18:47:10 UTC, Jordi Gutiérrez
Hermoso wrote:
I'm specifically thinking of the GNU Octave codebase:
http://hg.savannah.gnu.org/hgweb/octave/file/@
It's a fairly old and complicated C++ codebase. I would like to
see if I could slowly introduce some D in it,
On Wednesday, 20 June 2018 at 18:47:10 UTC, Jordi Gutiérrez
Hermoso wrote:
I'm specifically thinking of the GNU Octave codebase:
http://hg.savannah.gnu.org/hgweb/octave/file/@
It's a fairly old and complicated C++ codebase. I would like to
see if I could slowly introduce some D in it,
On Wednesday, 20 June 2018 at 18:47:10 UTC, Jordi Gutiérrez
Hermoso wrote:
I'm specifically thinking of the GNU Octave codebase:
http://hg.savannah.gnu.org/hgweb/octave/file/@
It's a fairly old and complicated C++ codebase. I would like to
see if I could slowly introduce some D in it,
On Wednesday, 20 June 2018 at 18:47:10 UTC, Jordi Gutiérrez
Hermoso wrote:
I'm specifically thinking of the GNU Octave codebase:
http://hg.savannah.gnu.org/hgweb/octave/file/@
It's a fairly old and complicated C++ codebase. I would like to
see if I could slowly introduce some D in it,
On Wed, Jun 20, 2018 at 07:13:41PM +, bachmeier via Digitalmars-d-announce
wrote:
> On Wednesday, 20 June 2018 at 18:32:34 UTC, Bastiaan Veelo wrote:
> > On Wednesday, 20 June 2018 at 18:21:01 UTC, Bastiaan Veelo wrote:
> > > On Wednesday, 20 June 2018 at 16:06:15 UTC, Ali wrote:
[...]
> > >
On Wednesday, 20 June 2018 at 18:32:34 UTC, Bastiaan Veelo wrote:
On Wednesday, 20 June 2018 at 18:21:01 UTC, Bastiaan Veelo
wrote:
On Wednesday, 20 June 2018 at 16:06:15 UTC, Ali wrote:
On Wednesday, 20 June 2018 at 13:21:30 UTC, Mike Parker wrote:
The blog:
Timoses wrote:
> Any ideas why autocompletion doesn't?
>
Opps. I suppose One should use vim's autocomplete feature : D (i_CTRL-P)
I'm specifically thinking of the GNU Octave codebase:
http://hg.savannah.gnu.org/hgweb/octave/file/@
It's a fairly old and complicated C++ codebase. I would like to
see if I could slowly introduce some D in it, anywhere.
Now, as I understand it, I would need to begin with making `main`
a D
On Wednesday, 20 June 2018 at 18:21:01 UTC, Bastiaan Veelo wrote:
On Wednesday, 20 June 2018 at 16:06:15 UTC, Ali wrote:
On Wednesday, 20 June 2018 at 13:21:30 UTC, Mike Parker wrote:
The blog:
https://dlang.org/blog/2018/06/20/how-an-engineering-company-chose-to-migrate-to-d/
Reddit:
On Wednesday, 20 June 2018 at 16:06:15 UTC, Ali wrote:
On Wednesday, 20 June 2018 at 13:21:30 UTC, Mike Parker wrote:
The blog:
https://dlang.org/blog/2018/06/20/how-an-engineering-company-chose-to-migrate-to-d/
Reddit:
On Wednesday, 20 June 2018 at 16:12:39 UTC, Timoses wrote:
However, it doesn't seem to show any autocompletions.. Anything
else I am missing?
:DUjump
works within the file I'm editing..
Any ideas why autocompletion doesn't?
https://issues.dlang.org/show_bug.cgi?id=19009
--- Comment #1 from Nathan S. ---
PR: https://github.com/dlang/druntime/pull/2228
--
On Wed, Jun 20, 2018 at 01:21:30PM +, Mike Parker via
Digitalmars-d-announce wrote:
> If you saw Bastiaan Veelo's DConf 2017 presentation, you'll know that
> his employer was evaluating D as a candidate for migrating their code
> base away from Extended Pascal. Recently, the decision was made
https://issues.dlang.org/show_bug.cgi?id=19009
Issue ID: 19009
Summary: core.internal.hash.hashOf default hash (absent
`toHash`) should be `@nogc`
Product: D
Version: D2
Hardware: All
OS: All
On Thursday, 23 April 2015 at 18:50:54 UTC, Idan Arye wrote:
GitHub repo: https://github.com/idanarye/vim-dutyl
vim.org page:
http://www.vim.org/scripts/script.php?script_id=5003
Now Dutyl can use dfmt to indent and/or format D code.
Formatting and indentation is done using Vim's regular
On Wed, Jun 20, 2018 at 01:30:56PM +, Chris M. via Digitalmars-d wrote:
> On Wednesday, 20 June 2018 at 08:16:21 UTC, Mike Parker wrote:
> > This is the feedback thread for the first round of Community Review
> > for DIP 1015, "Deprecation and removal of implicit conversion from
> > integer
On Wednesday, 20 June 2018 at 13:21:30 UTC, Mike Parker wrote:
If you saw Bastiaan Veelo's DConf 2017 presentation, you'll
know that his employer was evaluating D as a candidate for
migrating their code base away from Extended Pascal. Recently,
the decision was made and D was the coice. In
On Wednesday, 20 June 2018 at 15:19:29 UTC, DigitalDesigns wrote:
See, what the compiler is not doing is realizing that a lambda
can be implicitly cast to any other lambda with the same
signature. If it understood that then it should have no problem
with casting the tuple implicitly.
On Wednesday, 20 June 2018 at 08:16:21 UTC, Mike Parker wrote:
This is the feedback thread for the first round of Community
Review for DIP 1015, "Deprecation and removal of implicit
conversion from integer and character literals to bool":
[...]
This is similar to the overload bug that c++
On Tuesday, 19 June 2018 at 21:06:16 UTC, Dennis wrote:
On Tuesday, 19 June 2018 at 19:03:44 UTC, 12345swordy wrote:
Why not use them if given the opportunity based on its context?
You can do that if you want
```
import std.stdio;
import core.stdc.stdio;
void main() @nogc {
int a = 8;
On Wednesday, 20 June 2018 at 12:08:28 UTC, Jonathan M Davis
wrote:
On Wednesday, June 20, 2018 11:43:52 DigitalDesigns via
Digitalmars-d wrote:
alias f = void delegate();
Tuple!(f)[] fs;
fs ~= tuple(() { });
fails but
fs ~= Tuple!(f)(() { });
passes.
in tuple, it is seeing the lambda as
This board is for the D programming language.
The one you want is https://forum.dlang.org/group/c++
I am a newbe to the C/C++ Development System. I downloaded the
C/C++ Development System a couple of days ago. In following the
directions for Lesson 1: Create the DOS Application, when I did
the Rebuild (called for in the instructions), I got an error:
Error: c:\dm\lib\sds.lib(cinit) :
On Wednesday, 20 June 2018 at 09:54:29 UTC, Per Nordlöw wrote:
T toDefaulted(T)(scope const(char)[] value,
T defaultValue) @safe pure nothrow @nogc
if (is(T == enum))
{
switch (value)
{
static foreach (index, member; __traits(allMembers, T))
{
On Wednesday, 20 June 2018 at 13:42:23 UTC, biocyberman wrote:
On Tuesday, 19 June 2018 at 13:33:12 UTC, bauss wrote:
On Monday, 18 June 2018 at 20:17:41 UTC, biocyberman wrote:
[...]
Just to be correct about the location.
It would be the meeting room at the 14th floor or is it
meeting
On Saturday, 2 June 2018 at 12:08:27 UTC, drug wrote:
On 02.06.2018 14:37, Bastiaan Veelo wrote:
On Saturday, 2 June 2018 at 09:07:29 UTC, drug wrote:
On 02.06.2018 03:49, Bastiaan Veelo wrote:
interesting from a theoretical perspective. Stay tuned for
an announcement...
I've been staying for
On Tuesday, 19 June 2018 at 13:33:12 UTC, bauss wrote:
On Monday, 18 June 2018 at 20:17:41 UTC, biocyberman wrote:
On Friday, 15 June 2018 at 08:45:29 UTC, Bienlein wrote:
On Friday, 15 June 2018 at 07:34:07 UTC, biocyberman wrote:
On Friday, 15 June 2018 at 07:20:04 UTC, Bienlein wrote:
On
On Wednesday, 20 June 2018 at 08:16:21 UTC, Mike Parker wrote:
This is the feedback thread for the first round of Community
Review for DIP 1015, "Deprecation and removal of implicit
conversion from integer and character literals to bool":
[...]
Yes please
If you saw Bastiaan Veelo's DConf 2017 presentation, you'll know
that his employer was evaluating D as a candidate for migrating
their code base away from Extended Pascal. Recently, the decision
was made and D was the coice. In this post, Bastiaan tells the
story of how that came to be and how
On Tuesday, 19 June 2018 at 15:03:49 UTC, wjoe wrote:
But maybe I missed something else and the only purpose of D is
to make console applications for *NIX like OSs and expect users
to be professional enough to save that stack trace before they
close the terminal ?
I just read stack trace
On Wednesday, June 20, 2018 11:43:52 DigitalDesigns via Digitalmars-d wrote:
> alias f = void delegate();
> Tuple!(f)[] fs;
>
> fs ~= tuple(() { });
>
> fails but
>
> fs ~= Tuple!(f)(() { });
>
> passes.
> in tuple, it is seeing the lambda as void and thinks I'm trying
> to append a tuple of void.
On Wednesday, 20 June 2018 at 11:43:52 UTC, DigitalDesigns wrote:
alias f = void delegate();
Tuple!(f)[] fs;
fs ~= tuple(() { });
fails but
fs ~= Tuple!(f)(() { });
passes.
in tuple, it is seeing the lambda as void and thinks I'm trying
to append a tuple of void. I don't see why the
alias f = void delegate();
Tuple!(f)[] fs;
fs ~= tuple(() { });
fails but
fs ~= Tuple!(f)(() { });
passes.
in tuple, it is seeing the lambda as void and thinks I'm trying
to append a tuple of void. I don't see why the compiler can't see
that it works.
https://issues.dlang.org/show_bug.cgi?id=17067
RazvanN changed:
What|Removed |Added
CC||razvan.nitu1...@gmail.com
--- Comment #1 from
On Wednesday, June 20, 2018 09:37:00 Per Nordlöw via Digitalmars-d-learn
wrote:
> On Wednesday, 20 June 2018 at 09:27:14 UTC, Per Nordlöw wrote:
> > On Monday, 18 June 2018 at 21:10:03 UTC, Steven Schveighoffer
> >
> > wrote:
> >> It just means re-doing std.conv.to, which is pretty hairy, but
>
On Wednesday, 20 June 2018 at 09:37:00 UTC, Per Nordlöw wrote:
AFAICT, string-to-enum-conversion must include a switch
containing a static foreach over all the enumerators, right?
My suggestion for nothrow @nogc string-to-enum conversion with
default value
T toDefaulted(T)(scope
On Wednesday, 20 June 2018 at 09:52:04 UTC, Per Nordlöw wrote:
My suggestion for nothrow @nogc string-to-enum conversion with
default value
T toDefaulted(T)(scope const(char)[] value,
T defaultValue) @safe pure nothrow @nogc
if (is(T == enum))
{
switch (value)
{
On Wednesday, 20 June 2018 at 09:27:14 UTC, Per Nordlöw wrote:
On Monday, 18 June 2018 at 21:10:03 UTC, Steven Schveighoffer
wrote:
It just means re-doing std.conv.to, which is pretty hairy, but
also pretty well-organized.
Ok. Where in std.conv do the string-to-enum conversions take
place?
On Monday, 18 June 2018 at 21:10:03 UTC, Steven Schveighoffer
wrote:
It just means re-doing std.conv.to, which is pretty hairy, but
also pretty well-organized.
Ok. Where in std.conv do the string-to-enum conversions take
place?
Great to see LDC being as up to date with DMD as possible quickly.
Sadly due to a Phobos bug, I need D 2.081.0 :-(
Hopefully the Debian, Fedora, Homebrew, and Linuxbrew packagers get LDC 1.10.0
out quickly.
On Tue, 2018-06-19 at 22:10 +, kinke via Digitalmars-d-announce wrote:
> Hi
The first round of Community Review for DIP 1015, "Deprecation
and removal of implicit conversion from integer and character
literals to bool", has begun. To participate, please visit the
review thread for the details:
https://forum.dlang.org/post/xfhfmvyloruiikrej...@forum.dlang.org
*Please
This is the feedback thread for the first round of Community
Review for DIP 1015, "Deprecation and removal of implicit
conversion from integer and character literals to bool":
https://github.com/dlang/DIPs/blob/7c2c39243d0d747191f05fb08f87e1ebcb575d84/DIPs/DIP1015.md
All review-related
On Friday, 27 February 2015 at 11:11:36 UTC, Chris wrote:
On Thursday, 26 February 2015 at 18:35:00 UTC, Dan Olson wrote:
I think this all is in good enough shape that someone else
should give
it a try.
https://github.com/smolt/ldc-iphone-dev
This is an LDC development sandbox for iPhone
On Wednesday, 20 June 2018 at 05:26:25 UTC, Joakim wrote:
Do you mean ltsmaster or master? There shouldn't be much change
with the former.
master branch.
The TLS patches shouldn't be needed after llvm 3.8 or so, ie
you should be able to use a stock llvm for iOS:
https://issues.dlang.org/show_bug.cgi?id=18969
--- Comment #1 from Simen Kjaeraas ---
Related:
import std.meta : Alias;
alias getMember(alias T, string name) = Alias!(__traits(getMember, T, name));
struct S {
int i = 0;
}
unittest {
S s;
getMember!(s, "i") = 2;
}
--
https://issues.dlang.org/show_bug.cgi?id=18995
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=18995
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/4fe18b905526b4c1d0fb19aa28ccfcddf27ffcdc
Fix issue 18995 - Make sure GC calls destructor when
62 matches
Mail list logo