Re: std.functional.compose compilation error

2017-11-08 Thread Chuck Allison via Digitalmars-d-learn
On Thursday, 25 August 2016 at 14:06:32 UTC, Antonio Corbi wrote: Hello, Trying to compile this example from Chuck Allison: --- import std.stdio; import std.functional; void main() { auto div3 = (double x) => x/3.0; auto sq = (double x) => x*x;

Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-05-30 Thread Chuck Allison via Digitalmars-d-announce
On Saturday, 30 May 2015 at 13:30:33 UTC, Robert M. Münch wrote: I searched on YouTube and all the live streams are there! Just search for DConf 2015. On 2015-05-29 23:42:06 +, Andrei Alexandrescu said: DConf 2015 has been awesome, I'm taking a minute to post this that's been announced

rdmd Broken

2015-01-13 Thread Chuck Allison via Digitalmars-d
Hi all, I have no idea what happened, but rdmd gives me the strangest error: /usr/local/bin/dmd: failed to launch executable at /Library/Compilers/dmd2/osx/bin/dmd.Failed: I uninstalled dmd (using Jacob Carlsberg's uninstall shell script) and reinstalled 2.066 on Mac os x (yosemite) and

Re: DConf 2015?

2015-01-06 Thread Chuck Allison via Digitalmars-d
Just so you all know, DConf 2015 is scheduled when Utah is it's most beautiful. Not too hot, everything green, perfect for hiking, whatever. If you have never been to Southern Utah before, you might want to consider scheduling some time to see the National Parks and other like places before or

Re: DConf 2015?

2015-01-06 Thread Chuck Allison via Digitalmars-d
No tie required, Adam (you'd be the only one :-). Chuck On Tuesday, 30 December 2014 at 03:47:17 UTC, Adam D. Ruppe wrote: On Tuesday, 30 December 2014 at 03:38:08 UTC, Walter Bright wrote: It'll be at Utah Valley University: OOh, I might not be the only person there wearing a tie this

Mono-D Add-in for Xamarin Studio Updated

2014-07-25 Thread Chuck Allison via Digitalmars-d-announce
I thought I’d let you know that the D add-in for the new Xamarin Studio is out and operational. Xamarin runs on the 3 important application platforms. It’s a good piece of work. Chuck http://addins.monodevelop.com/Project/Index/27

++x vs. atomicOp!+=(x,1) with a shared int

2014-06-01 Thread Chuck Allison via Digitalmars-d
I was under the impression that calling ++x for a shared x is an error. Not only do I not get an error, the effect of ++x is identical to atomicOp+=(x,1) in the following example (the variable is count here, not x): shared int count; void f(string s) { foreach (i; 0..100)

Re: ++x vs. atomicOp!+=(x,1) with a shared int

2014-06-01 Thread Chuck Allison via Digitalmars-d
On Sunday, 1 June 2014 at 07:23:25 UTC, Meta wrote: It is a known bug with an open pull request to fix it. https://github.com/D-Programming-Language/dmd/pull/3070 Thanks!

Online D Course

2014-05-21 Thread Chuck Allison via Digitalmars-d-announce
Just thought I'd let you all know that there is an online D video course (unfortunately not free) at pluralsight.com. It's been there almost month. It's really quite good for newbies learning D. Just sayin'