On Sunday, 5 February 2012 at 20:20:58 UTC, Era Scarecrow wrote:
The data I will be accessing has dozens of different structures
of records which I keep the formatting and types saved in an
array. I see the problem where although variant can handle what
I need, but I don't see a way to specify
On Monday, 6 February 2012 at 20:36:39 UTC, simendsjo wrote:
I get an segfault in druntime, but have no idea where to start
looking.
_D4core7runtime18runModuleUnitTestsUZb19unittestSegvHandlerUiPS4core3sys5posix6signal9siginfo_tPvZv+0x3c
I cannot seem to find a way to enable line numbers in
On Tuesday, 7 February 2012 at 00:39:00 UTC, Era Scarecrow wrote:
Unfortunately I'd need to reference a buffer for the known
structured types. Variant seems far more useful for making an
interpreted language, than for my purposes.
I've been using Variant with LuaD for some time. Sorry it
On Wednesday, 8 February 2012 at 03:55:41 UTC, Mr. Anonymous
wrote:
Hello,
I want to start playing with D, and I'm looking at a GUI
library to begin with.
From what I see here:
http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries
I have four choices:
GtkD, DWT, DFL, DGui.
Has anyone tried
On Wednesday, 15 February 2012 at 19:49:13 UTC, Mars wrote:
I assume I could compile those, and include them in my other
lib... but why is that? Shouldn't the Lua lib, and the
importing of those files be enough? I couldn't really wrap my
head around that yet, if I import something, that's not
On Saturday, 25 February 2012 at 16:26:05 UTC, Ashish Myles wrote:
2. Secondly, TDPL on page 381 says that foreach iterates over
C[], if
C defines the opSlice() function without any arguments.
However the code above doesn't seem to work and requires me to
explicitly invoke the slice
On Tuesday, 28 February 2012 at 05:56:12 UTC, Joshua Niehus wrote:
Hello,
I dont understand the following snippet's output:
import std.stdio, std.traits;
void main() {
writeln(isSomeFunction!(writeln));
writeln(isCallable!(writeln));
writeln(Yes I am...);
}
/* OUTPUT */
false
On Tuesday, 28 February 2012 at 06:26:38 UTC, Puming wrote:
It is a template.
Is a template callable? So what's the isCallable and
isSomeFunction equivalent for templates?
I suppose it could be considered a bug as it is mostly a
syntactic request/check. I'd expect
On Tuesday, 28 February 2012 at 08:38:10 UTC, Mikael Lindsten
wrote:
Coming from the Java/C# world, not distinguishing between an
empty array
and null feels strange to me. Is this so for strings as well?
...and in
Pedros example, if you assign null to b and then try to access
b.length,
don't
On Wednesday, 29 February 2012 at 11:51:29 UTC, bioinfornatics
wrote:
Le mercredi 29 février 2012 à 12:42 +0100, bioinfornatics a
écrit :
Dear,
I would like to parse this file:
http://genome.ucsc.edu/goldenPath/help/ItemRGBDemo.txt
My problem is:
- need to parse data in csv format
- how
On Thursday, 1 March 2012 at 10:09:55 UTC, bioinfornatics wrote:
and how convert bedInstances input array to BedData11[] ?
std.array.array()
On Saturday, 3 March 2012 at 00:03:02 UTC, Yao Gomez wrote:
On Friday, 2 March 2012 at 22:56:49 UTC, tjb wrote:
Ali,
Thanks. That helps me see how to use a structure. I just
need to
figure out the date and time conversion.
Thanks!
TJB
I don't remember who did it or where is located,
On Sunday, 4 March 2012 at 20:25:40 UTC, Jonathan M Davis wrote:
By the way, I wouldn't rely on much that ideone says about D at
this point.
It's still on version 2.042 of dmd, whereas the latest release
is 2.058.
- Jonathan M Davis
Then ask for the latest version, and as David pointed
Templates not overriding non-template functions is a bug
http://d.puremagic.com/issues/show_bug.cgi?id=1528
On Tuesday, 13 March 2012 at 18:28:27 UTC, Johannes Pfau wrote:
My std.uuid module doesn't compile with the latest dmd. I guess
it's
because of a wrong opEquals signature, this is what I have now:
--
@safe pure nothrow bool opEquals(ref const UUID s) const
{
return s.data ==
On Friday, 16 March 2012 at 08:23:39 UTC, dv wrote:
I do not wish to spend time learning something with a shoddy
base. If I am to port or create projects with the language, I
need solid architecture and compiler support. Can some D users
enlighten me about the current state? Platforms I wish
On Sunday, 18 March 2012 at 14:45:42 UTC, bioinfornatics wrote:
$ ./test_csv
std.csv.CSVException@/usr/include/d/std/csv.d(1047): Can't
parse string:
[ is missing
std.conv.ConvException@/usr/include/d/std/conv.d(2714): Can't
parse
string: [ is missing
On Monday, 19 March 2012 at 12:50:02 UTC, bearophile wrote:
James Miller:
writeln(v1 == 1); //false
writeln(v1 == 1.0); //false
writeln(v1 == 1.0f); //false
writeln(v1+1 == 2.0f); //true
Maybe I'd like to deprecate and then statically forbid the use
of ==
On Wednesday, 21 March 2012 at 10:51:05 UTC, Stephan wrote:
Hi,
I have an associative array with strings as keys and static
arrays as values. When I access a new key, it gives me Range
Error, so I think I should initialise the associative array,
but how?
here is the code that fails:
On Wednesday, 21 March 2012 at 17:02:05 UTC, Brian Brady wrote:
As per the commented section, I want to be able to dynamically
figure out,
which member of the struct to average across, for all the
structs in the array.
Timon has given you an good example to get D to generate some
code for
On Wednesday, 21 March 2012 at 20:13:37 UTC, Jesse Phillips wrote:
Note, I commented out reduce as it uses the array type instead
of the calculation type. I think I'll file than as a bug. Also
the reduce version would not give you a double back even if it
did work, need a cast
On Monday, 26 March 2012 at 00:50:32 UTC, H. S. Teoh wrote:
This thread has further convinced me that std.range's docs
*need* this
rewrite. So here's my first attempt at it:
https://github.com/quickfur/phobos/tree/stdrange_docs
I find that opening to be much better. Look forward to
On Wednesday, 28 March 2012 at 23:55:38 UTC, TJB wrote:
All,
I'm very new to D. I am wanting to install the SciD module
(David Simcha's fork), but I don't know how to go about it.
Can you guide me?
Where does the code go? How do I import it?
Thanks,
TJB
There are many ways to go
On Thursday, 29 March 2012 at 03:02:27 UTC, TJB wrote:
Okay. I tried this. I think I am close. I followed the
instructions that you gave (thanks btw)!
But, I get this error message:
$ dmd -I/usr/local/src main.d
main.d(1): Error: module scid is in file 'scid.d' which cannot
be read
import
On Thursday, 29 March 2012 at 03:40:55 UTC, James Miller wrote:
I award thee the Necromancer badge, for reviving a long-dead
thread.
--
James Miller
I find the distaste of reviving a thread strange. It would be
like removing the reopened feature of bug tracking software
(who wants to
On Thursday, 29 March 2012 at 08:55:41 UTC, Johannes Pfau wrote:
The command Jesse posted is missing a -L-lscid and you'll
probably
also need -L-L/usr/local/lib
So the complete command should be:
Ah, you are right, though I selected /usr/local/lib as it is
already part of LD's search path.
On Thursday, 29 March 2012 at 16:51:24 UTC, Gleb wrote:
OPTLINK (R) for Win32 Release 8.00.12
Copyright (C) Digital Mars 1989-2010 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
D:\UserFiles\D\dmd2\windows\bin\..\lib\phobos.lib(file)
Error 42: Symbol Undefined
On Thursday, 29 March 2012 at 04:25:54 UTC, James Miller wrote:
I find the distaste of reviving a thread strange. It would be
like removing
the reopened feature of bug tracking software (who wants to
transpose all
that information).
I have no problem with it, if I did, I would have said so.
On Thursday, 5 April 2012 at 15:01:53 UTC, ReneSac wrote:
Hi.
I'm totally new to D, and would like to use it to prototype
some compression software ideas.
You'll be pretty safe using features you know for C, but you can
venture out pretty far from it.
While, the page isn't specific to the
On Thursday, 5 April 2012 at 21:10:41 UTC, ReneSac wrote:
I will probably program close to C/Lua style (the languages I'm
most proficient with), but pretty far is vague. And I haven't
been following the time line of the feature additions, like old
users do, and I'm not sure if I should read
On Friday, 6 April 2012 at 15:18:35 UTC, Paul wrote:
I would like to start writing little Win GUI utilities. I
really want to stick with single .exeS that I can carry around
on a jump drive and don't have to install. Is D developed
enough, with various libraries and documentation to do this?
On Friday, 6 April 2012 at 15:28:38 UTC, Paul wrote:
I was reading a wiki about D and it talked about Tango vs.
Phobos. I read some items on runtime vs. standard libraries as
well. I am bit confused about all of it. Are the standard
libraries compiled into every exe and then the runtimes
On Sunday, 8 April 2012 at 20:45:12 UTC, vmars316 wrote:
Win7:
Greetings,
Ok, I got the command line for dmd2 running (Hello World). :)
Now I would like to install a Visual GUI Builder.
Not knowing any better, think I'll try Entice Designer and
DFL.
The most current versions I can find are
On Monday, 9 April 2012 at 02:42:27 UTC, vmars316 wrote:
Greets,
I will set up a new thread for How to set up QTD?.
What i would like to continue with here is
to Get DFL and Entice up and running.
I set things up like this:
C:\D\dmd2\Entice
C:\D\dmd2\windows\bin\DFL
The zip file from the
On Monday, 9 April 2012 at 17:35:41 UTC, vmars316 wrote:
and my Bud.Bat looks like this:
bud myForm.d -info -gui -version=gui -run -V
pause
Well, now you've added a level of indirection, which just makes
identifying an issue even harder. You're going to need to step
back from the build
On Monday, 9 April 2012 at 20:18:06 UTC, vmars316 wrote:
C:\D\dmd2\windows\bin\dfl.exe -gui
C:\D\dmd2\windows\bin\vmPrograms\myForm\myForm.d
(the above is all one line)
pause
I got the following results:
C:\D\dmd2\windows\bin\vmPrograms\myFormC:\D\dmd2\windows\bin\dfl.exe
-gui C:\D\
On Tuesday, 10 April 2012 at 14:21:35 UTC, Jesse Phillips wrote:
I suggest trying to get this method to work.
DFL.exe is very picky about the directory structure. I'll have
to double check the exact relationship I have (at work), but
the source files for dfl are in an import folder. To get
On Friday, 13 April 2012 at 01:10:40 UTC, Alex Rønne Petersen
wrote:
How do I pass a library search path to DMD on Windows?
I would love to know too!
Only place I found was to edit sc.ini sorry.
On Wednesday, 11 April 2012 at 19:33:58 UTC, Xan wrote:
Hi,
With helloworld program named with score or underscore, I
receive the following __annoying__ error:
$ gdmd-4.6 hola-temp.d
hola-temp.d: Error: module hola-temp has non-identifier
characters in filename, use module declaration
On Friday, 13 April 2012 at 23:06:38 UTC, TJB wrote:
OK. I now can compile a simple program that imports a module
from the SciD library. How do I do something a little more
interesting like initialize a vector or matrix and do some
linear algebra with it?
Thanks so much for your help.
On Saturday, 21 April 2012 at 22:18:02 UTC, Adam D. Ruppe wrote:
We can do not null in the library reasonably
well. I have a basic one in github:
https://github.com/D-Programming-Language/phobos/pull/477
I'm thinking those interested in not null will want something
similar to the maybe type.
On Sunday, 22 April 2012 at 15:26:34 UTC, Joseph Rushton Wakeling
wrote:
/usr/local/include/d2/std/zlib.d(26): Error: module zlib is
in file 'etc/c/zlib.d' which cannot be read
import path[0] = /usr/local/include/d2/
Do you see the file:
/usr/local/include/d2/etc/c/zlib.d ?
If not, then
On Saturday, 28 April 2012 at 16:27:53 UTC, SomeDude wrote:
Hi all,
Not owning TDPL right now, I feel I could learn the language
much more quickly with it. But Andrei hinted somewhere that
there would be a new edition of his book. Should I wait for it ?
Andrei mentioned it may be time for a
On Saturday, 28 April 2012 at 14:21:32 UTC, Namespace wrote:
I finished my Ref/NotNull struct, but i've got a problem:
If i try to cast the class, which should implicit convert to
Ref!(Type) with alias this, i get the following error message:
cannot cast a1.getRef(Ref.d,72u) of type Ref!(A) to
On Monday, 30 April 2012 at 15:19:02 UTC, Christian Köstlin
wrote:
reduce!((int a, int b){return a+b;})(iota(100))
reduce!(a+b)(iota(100))
thanks in advance
christian koestlin
The answer to your question should be no. The second is
transformed into a delegate like the first during
On Monday, 7 May 2012 at 19:45:36 UTC, WhatMeWorry wrote:
And std.regex talks about matches and stuff but is this
equivalent to find.
The warning was talking about the find in std.regexp which is
right above that function.
You want std.regex.match.
Sorry got to go.
On Thursday, 10 May 2012 at 16:22:11 UTC, Joseph Rushton Wakeling
wrote:
Hello all,
Is there any way to specify individual Phobos modules to
unittest when building, instead of having to do the whole lot?
When working on 1 single module, it'd be nice to be able to
unittest that one alone and
On Friday, 11 May 2012 at 15:00:18 UTC, Paul wrote:
I would like to read a complete file in one statement and then
process it line by line.
foreach (line; MyFile)
etc.
Is it possible to read a file into and array of lines?
Thanks
Something like:
import std.file;
import std.string;
void
On Sunday, 17 June 2012 at 11:57:36 UTC, Denis Shelomovskij wrote:
Here
http://dlang.org/interface.html#COM-Interfaces
we have a link to Lionello Lunesu's article
http://lunesu.com/uploads/ModernCOMProgramminginD.pdf
Is it correct that he hasn't managed to convince Microsoft to
release his
On Tuesday, 26 June 2012 at 16:55:56 UTC, le TeXnicien de surface
wrote:
and I obtain this message:
jeteste.o: In function `_Dmain':
jeteste.d:(.text._Dmain+0x1e): undefined reference to
`_D4truc5carreFdZd'
collect2: ld a retourné 1 code d'état d'exécution
--- errorlevel 1
where do I err?
On Tuesday, 10 July 2012 at 19:27:56 UTC, Namespace wrote:
Maybe D need's a readonly keyword.
[...]
Or has D an alternative?
https://github.com/D-Programming-Language/dmd/pull/3
On Tuesday, 24 July 2012 at 19:01:15 UTC, newToCOM wrote:
I am trying to use COM to access Windows functionality and APIs.
I have read the interface documentation and some documentation
at
MSDN. I have seen the included sample snippet for IHello and the
slides Modern COM programming in D, but
On Wednesday, 8 August 2012 at 17:50:42 UTC, Andrej Mitrovic
wrote:
I've asked this before about editing the front-page but I can't
find
the topic anymore. I think this page:
http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/StartingWithD/Compiler
should be added under the Development section,
On Friday, 10 August 2012 at 01:39:32 UTC, Andrew wrote:
I'm trying to read in a csv file. The examples in the docs for
std.csv
all assume you're reading from a string rather than a file.
It requires a range of dchar. I believe there is an undocumented
function to get a dchar range out of a
On Monday, 13 August 2012 at 18:49:55 UTC, Nathan M. Swan wrote:
Without the -property switch, you can use non-@property
functions as if they were @property. This is supposed to
eventually be deprecated, so I try to not do this.
To add to this, historically it was a feature. Why add
On Wednesday, 15 August 2012 at 13:36:26 UTC, Stefan wrote:
Hi there, I'm having trouble getting the following code to
compile:
import std.stdio;
string a = a;
string b = a;
void main()
{
writeln(b);
}
DMD spits out the error test.d(4): Error: variable a cannot be
read at compile time.
On Wednesday, 15 August 2012 at 15:13:09 UTC, Andrew wrote:
Ah, understood. My thanks. I'll probably start using the
-property switch
just to avoid accidentally getting in the habit of using a
deprecated
feature.
Note, another form discussion has pointed out that -property is
horribly
On Friday, 24 August 2012 at 10:44:28 UTC, Minas Mina wrote:
Is there n article that explains the different types of Ranges?
(InputRange, ForwardRange, etc) and their usage?
There are the docs[1] and this chapter of Programming in D[2]
1. http://dlang.org/phobos/std_range.html
2.
I'm thinking I this is supposed to be a compiler error and I
should report as a bug:
It is illegal for a GotoStatement to be used to skip
initializations.
void main() {
goto b;
int num = 5;
b:
num = 7;
}
On Monday, 17 September 2012 at 14:54:48 UTC, bearophile wrote:
Do you think it's useful and possible to extend the D type
inference (deduction) for templates to support something like
this (I know there are different ways to do this in D)?
struct Tree1 {
static struct Node { int x; }
}
On Sunday, 16 September 2012 at 18:33:22 UTC, Iain Buclaw wrote:
On Sunday, 16 September 2012 at 18:20:49 UTC, Jesse Phillips
wrote:
I'm thinking I this is supposed to be a compiler error and I
should report as a bug:
It is illegal for a GotoStatement to be used to skip
initializations
On Tuesday, 18 September 2012 at 04:56:27 UTC, Ellery Newcomer
wrote:
In a templated function in my header file, I make a call to
enforce. When the function is not called [instantiated], all is
well. When the function is called, it generates yon undefined
reference to __ModuleInfoZ.
I
On Wednesday, 19 September 2012 at 20:06:31 UTC, Peter Sommerfeld
wrote:
Hi Everyone!
I'm new to :D and have a small problem with std.json.
If I use parseJSON() or toJSON() all whitespaces are
removed. I would like it to have them preserved for
better readability for users.
In std.json.d
On Thursday, 20 September 2012 at 13:57:54 UTC, monarch_dodra
wrote:
On Thursday, 20 September 2012 at 12:59:51 UTC, Will Rubin
wrote:
Thanks for the detailed reply. It's too early for me to have
much of an opinion but I'll take your approach and use
@Property without parens (as I would in C#
On Tuesday, 25 September 2012 at 21:51:40 UTC, Matthew Turner
wrote:
Hello,
I'm wondering if there is any library for making a GUI with D.
If not, what would you recommend for that? Could I just use
c++ libraries?
Thank you,
Matt
http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries
Am I getting something wrong with this code?
import std.conv;
import std.math;
void main() {
pragma(msg, Number of bits: ~ to!string(12 * 4));
pragma(msg, Addressable Bytes: ~ to!string(pow(2, 12 *
4)));
}
Number of bits: 48
Addressable Bytes: 0
Linux 64bit dmd 2.060...
On Friday, 28 September 2012 at 05:46:49 UTC, Tim wrote:
From what I understand, pragma(msg, ...) prints at compile
time. I don't think that it evaluates functions then.
In order to print it must have a value to print, so D makes its
great attempt to run whatever it can at compile time to
On Friday, 28 September 2012 at 05:35:13 UTC, Jesse Phillips
wrote:
Specifically, shouldn't 2^48 be a little bit larger than 0?
After heading to bed I realized that I could no longer rely on
compile-time type selection since I was calling a function. So
obviously the number I was looking
On Friday, 28 September 2012 at 17:53:59 UTC, deed wrote:
(Defining wndProc as a global function works, but is not what I
want to do...)
What is the issue here and how do I make it work?
You are interfacing with C, which does not support functions with
state (delegate). You must pass it a
I'm trying to identify what change has resulted in getting the
error:
Error 42: Symbol Undefined _VarCmp@16
I was doing my not so routine updates for the Juno Class
Libraries. This symbol is the VARIANT compare function provided
by oleaut32.lib on Windows. It is a very nice function and
On Monday, 1 October 2012 at 05:04:32 UTC, Andrej Mitrovic wrote:
Find oleaut32.dll in your Windows folder, and run implib on it:
$ implib oleaut32.lib oleaut32.dll /s
Thanks, I'll to play with this more because my first attempt did
not resolve the issue and instead has resulted in even more
On Monday, 1 October 2012 at 05:04:32 UTC, Andrej Mitrovic wrote:
Find oleaut32.dll in your Windows folder, and run implib on it:
$ implib oleaut32.lib oleaut32.dll /s
Put the import lib in the same folder as the project and change
linkage to extern(C). It works for me this way.
Thank you,
I've made the changes needed to get past the linker error, but
have run into an Access Violation when using CoInitializeEx
Once again I've returned to 2.057 (without changing ole32.lib)
and this will compile and run.
pragma(lib, ole32.lib);
extern(Windows)
int CoInitializeEx(void*, uint
On Tuesday, 2 October 2012 at 09:48:00 UTC, Andrej Mitrovic wrote:
I'm sorry, I was completely wrong about STDAPI being extern(C).
I saw
EXTERN_C and immediately thought this was the calling
convention, it's
not:
#define STDAPI EXTERN_C HRESULT STDAPICALLTYPE
#define
On Thursday, 4 October 2012 at 13:55:39 UTC, Jacob Carlborg wrote:
void foo (inout int[] arr)
{
auto a = { auto b = arr[0]; };
}
void main ()
{
auto a = [3, 4, 5];
foo(a);
}
Compiling the above code with DMD 2.060 results in the
following error message:
Error: variable
On Friday, 5 October 2012 at 13:39:56 UTC, ref2401 wrote:
import std.range;
int[] numbers = [1, 3, 5, 7, 9, 11];
auto rangeObject = inputRangeObject(numbers);
auto inputRange = cast(InputRange!(int[]))rangeObject;
why does 'inputRange' equal null?
On another note to what others said. An
On Friday, 5 October 2012 at 08:53:22 UTC, Era Scarecrow wrote:
Mmmm glancing at the notes again, maybe I misread it and it
only skips if the beginning equals, rather than if it
contains... Kinda annoying since it sounds like what I wanted
would work...
Pretty sure the semantics you want
On Wednesday, 10 October 2012 at 14:52:00 UTC, Lubos Pintes wrote:
Hi,
I discovered this while playing with DGUI's treeview module.
Here is a program that generates exactly the same error that
looks weird to me:
module a;
import std.stdio;
alias void* pvoid;
enum E : pvoid {
The dmd compiler comes with some example code. One of the
examples is for COM.
Does this work for anyone else? The dll registration code is
failing: SetKeyAndValue() failed.
Other output looks good:
OLE 2 initialized
hMod = 268435456
LoadLibraryA() succeeded
pfn = 100033E0, fn =
On Sunday, 14 October 2012 at 19:04:22 UTC, Richard Webb wrote:
I haven't tried to run it, but as a random guess, does the user
your running it as have permissions to write to
HKEY_CLASSES_ROOT ?
Guess that would be it. Specifically told the program to run as
admin and it works. Should have
On Wednesday, 24 October 2012 at 11:19:08 UTC, Dan wrote:
No answer yet, but the errors look very similar to those run
into here:
http://www.digitalmars.com/d/archives/digitalmars/D/Something_wrong_with_dmd_s_-c_command_162601.html
back in March. Wish I knew how that was resolved. When I
Hmm, I can reproduce. It is caused by the call to pack in
function 2.
void f2()
{
unpack(pack(mpObj));
}
I get the feeling this may be a compiler bug, I'm not seeing
anything used that isn't part of those two files or Phobos.
On Monday, 29 October 2012 at 15:22:39 UTC, Adam D. Ruppe wrote:
UTF-8 isn't affected by endianness.
If this is true why does the BOM have marks for big and little
endian?
http://en.wikipedia.org/wiki/Byte_order_mark#Representations_of_byte_order_marks_by_encoding
On Tuesday, 30 October 2012 at 17:17:36 UTC, Tobias Pankrath
wrote:
On Tuesday, 30 October 2012 at 17:12:41 UTC, Jesse Phillips
wrote:
On Monday, 29 October 2012 at 15:22:39 UTC, Adam D. Ruppe
wrote:
UTF-8 isn't affected by endianness.
If this is true why does the BOM have marks for big
This article goes over a Nullable/Optional/Maybe implementation
for C#.
http://twistedoakstudios.com/blog/Post1130_when-null-is-not-enough-an-option-type-for-c
http://www.reddit.com/r/programming/comments/14930f/when_null_is_not_enough_an_option_type_for_c/
It seems to be similar to that of
On Thursday, 6 December 2012 at 00:31:53 UTC, Jonathan M Davis
wrote:
Pretty much the only kind of situation that I remember running
into where I
would consider Variant to be a good solution is one where you
literally have
to return a type from a function where you can't know that type
at
On Friday, 14 December 2012 at 20:37:12 UTC, Jace Bennett wrote:
Am I getting coolness from janus or from the dmd installer? In
short, it's awesome, but wtf?
That is the compiler, been there for about 10 releases.
Don't know who Janus is.
On Wednesday, 9 January 2013 at 17:07:50 UTC, ixid wrote:
It would be even nicer to be able to write for(i;5) and have it
behave as foreach.
I hated java's choice to use for as foreach. It does not prepare
me for the semantics of what I'm about to read. And when I go to
write it and don't
On Wednesday, 23 January 2013 at 18:31:31 UTC, Kenneth Sills
wrote:
It's a bit hard looking for D stuff, even searches such as
Dlang or D Language don't yield terribly useful results.
Mostly because the material isn't there. As more content about D
exist the easier it is. Just most of the
On Tuesday, 29 January 2013 at 21:53:46 UTC, Ali Çehreli wrote:
On 01/29/2013 12:32 PM, Vladimir Panteleev wrote:
I would like to add some information to any exceptions thrown
inside the
loop's body (e.g. whatever std.conv.to may throw), in our
case the line
number.
Here is a RAII idea that
Nope, removed. While not the same and may not do anything that
you are considering.
This was made to compile listings and then put the output of
compiler and run into a new tex file.
https://github.com/JesseKPhillips/listings-dlang-extractor
On Wednesday, 13 February 2013 at 15:53:44 UTC, Andrea Fontana
wrote:
Why Appender has no ~ operator itself?
auto app = appender!string();
app.put(a); // why not app ~= a?
Because Appender is an output range, using ~= will mean your code
will not work with other output ranges.
On Saturday, 23 February 2013 at 19:07:31 UTC, Charles Hixson
wrote:
What actually brought this up is that I've gotten so disgusted
with ddoc that I was looking for pretty much ANY alternative.
ah, then Tex isn't what you want. As for improving DDOC several
attempts have been made. CandyDoc
On Saturday, 2 March 2013 at 08:03:08 UTC, simendsjo wrote:
Everyone says Don't use std.xml, and there are several other
libraries.
Which can you recommend? (I haven't looked closely at any of
them, just some links found by googling)
On Monday, 4 March 2013 at 04:45:45 UTC, Brad Roberts wrote:
Has this implementation been bounced off the w3c xml test suite?
I don't know, but the xml tests don't seem to be the those
provided by W3C
http://bazaar.launchpad.net/~michael-rynn-500/d2-xml/d2-xml-dev/files/head:/test/xmltest/
On Monday, 11 March 2013 at 14:23:41 UTC, Peter Sommerfeld wrote:
A confusing example:
import std.stdio, std.variant, std.conv;
alias Value = Variant;
alias List = Value[];
alias Map = List[Value];
Oh, the new alias syntax is in?
The problem you
On Monday, 11 March 2013 at 15:25:55 UTC, Peter Sommerfeld wrote:
Jesse Phillips wrote:
Oh, the new alias syntax is in?
Hmmm, I'm new to D, why should I use the old one? And I like
the new one more too, it is more descriptive IMHO.
I just didn't know it made it in yet, so many changes going
On Thursday, 14 March 2013 at 21:40:34 UTC, Ali Çehreli wrote:
I had toyed with the idea of making a ForwardRange from an
InputRange by caching the elements. Without any guarantees, :)
here is the code:
http://forum.dlang.org/thread/ifg5ei$2qc7$1...@digitalmars.com
Ali
I attempted to
On Monday, 1 April 2013 at 14:58:36 UTC, Alexandr Druzhinin wrote:
I built GtkD following instructions from
https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows.
Then I tried to build demo from demos/gl/simple/simplegl.d and
failed with undefined symbols
On Tuesday, 2 April 2013 at 06:19:23 UTC, Alexandr Druzhinin
wrote:
02.04.2013 1:32, Jesse Phillips пишет:
Please provide your compile command, it looks like you didn't
tell the
linker where to find GtkD.
cd path/to/GtkD/demos/gl/simple
dmd SimpleGL.d -I../../../src -I../../../srcgl
1 - 100 of 695 matches
Mail list logo