On Thursday, 9 November 2017 at 04:58:19 UTC, Chuck Allison wrote:
As others have said, rename the .d file, since files are
considered modules. I have since changed my notes to reflect
this change. Sorry for the confusion.
Chuck Allison
When coming to a new language I tend to write lots of
On Thursday, 9 November 2017 at 05:07:33 UTC, Andrew Edwards
wrote:
On Thursday, 9 November 2017 at 04:58:19 UTC, Chuck Allison
wrote:
Chuck Allison
Sorry to hijack this thread but it shan't be helped. Chuck, how
is it going? Curious about the status of "Thinking in D". How
do I go about pa
On Thursday, 9 November 2017 at 04:58:19 UTC, Chuck Allison wrote:
Chuck Allison
Sorry to hijack this thread but it shan't be helped. Chuck, how
is it going? Curious about the status of "Thinking in D". How do
I go about participating in the draft review?
-- Andrew
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;
On Thursday, 25 August 2016 at 21:01:29 UTC, Antonio Corbi wrote:
On Thursday, 25 August 2016 at 14:30:00 UTC, Meta wrote:
On Thursday, 25 August 2016 at 14:06:32 UTC, Antonio Corbi
wrote:
Hello,
Trying to compile this example from Chuck Allison:
---
imp
On Thursday, 25 August 2016 at 14:30:00 UTC, Meta wrote:
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
On Thursday, August 25, 2016 17:50:44 bachmeier via Digitalmars-d-learn wrote:
> On Thursday, 25 August 2016 at 17:49:26 UTC, bachmeier wrote:
> > On Thursday, 25 August 2016 at 15:04:43 UTC, Jonathan M Davis
> >
> > wrote:
> >> Yes. Because the module is compose, within that file, compose
> >> wil
On Thursday, 25 August 2016 at 17:49:26 UTC, bachmeier wrote:
On Thursday, 25 August 2016 at 15:04:43 UTC, Jonathan M Davis
wrote:
Yes. Because the module is compose, within that file, compose
will refer to the module, not anything you import. The
selective import essentially creates a local
On Thursday, 25 August 2016 at 15:04:43 UTC, Jonathan M Davis
wrote:
Yes. Because the module is compose, within that file, compose
will refer to the module, not anything you import. The
selective import essentially creates a local alias like
alias compose = std.functional.compose;
as part o
On Thursday, August 25, 2016 14:30:00 Meta via Digitalmars-d-learn wrote:
> 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.fu
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;
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;
auto pls1 = (double x) => x+1.0;
alias compose!(div3,sq,pls1)
12 matches
Mail list logo