On Thursday, 14 April 2016 at 06:27:29 UTC, Ali Çehreli wrote:
On 04/13/2016 04:39 PM, Alex wrote:
> import std.algorithm;
> indarr.map!(a => partial!(sg, a));
I think you want to generate a different delegate for each
element where the first argument to sg is the value of that
element (0, 1,
On Thursday, 14 April 2016 at 05:54:38 UTC, David Skluzacek wrote:
So, that message is a pretty cryptic, but the problem there is
that map does its thing at runtime, but partial is a template
and must be instantiated at compile time.
Instead you can use std.meta.staticMap, by doing something l
On 04/13/2016 04:39 PM, Alex wrote:
> import std.algorithm;
> indarr.map!(a => partial!(sg, a));
I think you want to generate a different delegate for each element where
the first argument to sg is the value of that element (0, 1, etc.).
Since the second element of sg is a Props, you then want
So, that message is a pretty cryptic, but the problem there is
that map does its thing at runtime, but partial is a template and
must be instantiated at compile time.
Instead you can use std.meta.staticMap, by doing something like
this:
void main()
{
import std.stdio;
import st
On Wednesday, 13 April 2016 at 16:58:34 UTC, Vladimir Panteleev
wrote:
On Wednesday, 13 April 2016 at 11:36:07 UTC, Mithun Hunsur
wrote:
Yeah, that also works; you have to define a symbol (if you
don't have one you can already use) in order to get to it, so
it's a little wasteful. Still useful
Hi at all!
Having read this:
http://forum.dlang.org/post/mailman.2415.1354291433.5162.digitalmars-d-le...@puremagic.com
still have a problem...
Lets begin with what works:
enum Props{p1, p2}
class AA
{
int[] arr1;
int[] arr2;
this()
{
//arbitrary values...
arr1 =
On 2016-04-13 17:23, Jesse Phillips wrote:
Looks like your firewall is blocking the git protocol.
Checkout dwt without --recursive
Modify the .gitmodules file so that https:// urls are used instead of git
Run the git submodule update --init
Updated to use HTTPS for the submodules.
--
/Jaco
On Wednesday, 13 April 2016 at 11:36:07 UTC, Mithun Hunsur wrote:
Yeah, that also works; you have to define a symbol (if you
don't have one you can already use) in order to get to it, so
it's a little wasteful. Still useful to know, though!
No, it's not necessary. You should be able to walk th
On Wednesday, 13 April 2016 at 15:07:09 UTC, rikki cattermole
wrote:
Verified that it is a codegen problem for Win64 and not *nix.
Please file a bug report.
https://issues.dlang.org/show_bug.cgi?id=15921
Done, Thanks
On Wednesday, 13 April 2016 at 09:01:47 UTC, Chris wrote:
On Tuesday, 12 April 2016 at 19:20:44 UTC, Jacob Carlborg wrote:
The error messages are below. If I do it step by step (without
--recursive) and then "git submodule update --init", I get more
or less the same error:
Cloning into 'base
On 14/04/2016 2:49 AM, ref2401 wrote:
Hello,
I got stuck with a weird array setting behaviour and I need help. Just
have a look at the example.
OS: Win 8.1 Pro
DMD: v2.071.0
Build-cmd: dmd main.d -ofconsole-app.exe -debug -unittest -g -wi -m64
module dmain;
import std.stdio;
struct Vec {
Hello,
I got stuck with a weird array setting behaviour and I need help.
Just have a look at the example.
OS: Win 8.1 Pro
DMD: v2.071.0
Build-cmd: dmd main.d -ofconsole-app.exe -debug -unittest -g -wi
-m64
module dmain;
import std.stdio;
struct Vec {
float a;
}
void main(string[]
On Tuesday, 12 April 2016 at 12:12:19 UTC, Steven Schveighoffer
wrote:
On 4/10/16 4:59 AM, klimp wrote:
On Sunday, 10 April 2016 at 07:48:51 UTC, klimp wrote:
Is this corrrect ? Each task searches for the same thing so
when once
has found the others don't need to run anymore. It looks a
bit st
On Wednesday, 13 April 2016 at 11:21:25 UTC, Pedro Lopes wrote:
In the second paragraph I meant to say: The first library that
Derelict-Allegro (not dub) looks for is called:
"liballegro_image-5.0.11.so" ...
I know dub has nothing to do with this at this point it already
compile and linked it
On Wednesday, 13 April 2016 at 05:30:27 UTC, Vladimir Panteleev
wrote:
On Tuesday, 12 April 2016 at 13:44:07 UTC, Mithun Hunsur wrote:
Hi all,
I'm looking for the equivalent of `typeof(this)` in module
scope (so that it gets the current module). My use-case is
iterating over the members of th
In the second paragraph I meant to say: The first library that
Derelict-Allegro (not dub) looks for is called:
"liballegro_image-5.0.11.so" ...
I know dub has nothing to do with this at this point it already
compile and linked it just couldn't execute for not finding the
library.
On Tuesday, 12 April 2016 at 13:01:59 UTC, Mike Parker wrote:
On Tuesday, 12 April 2016 at 09:19:14 UTC, Pedro Lopes wrote:
I changed the dub.sdl dependency to version 0.0.5, but dub
cant recognize that version:
"Root package allegrotest contains reference to invalid
package derelict-allegro5
On Tuesday, 12 April 2016 at 10:11:27 UTC, Russel Winder wrote:
Did you solve this problem?
Does it go away using a newer JDK, e.g. 8_77?
Have you tried the Oracle or Azul builds?
If you have a small project you can send me that exhibits the
problem for you, I can take a look at it.
I coul
On Tuesday, 12 April 2016 at 19:20:44 UTC, Jacob Carlborg wrote:
The error messages are below. If I do it step by step (without
--recursive) and then "git submodule update --init", I get more
or less the same error:
Cloning into 'base'...
fatal: unable to connect to github.com:
github.com[0:
19 matches
Mail list logo