Re: Functional Programming in D

2019-10-11 Thread Bienlein via Digitalmars-d-learn
On Thursday, 10 October 2019 at 16:05:13 UTC, bachmeier wrote: On Thursday, 10 October 2019 at 08:59:49 UTC, Russel Winder wrote: My impressions is that the complaints about Scala are similar to C++: too many features that clash with one another and make the language complicated, plus extreme

Re: Functional Programming in D

2019-10-10 Thread bachmeier via Digitalmars-d-learn
On Thursday, 10 October 2019 at 08:59:49 UTC, Russel Winder wrote: I feel that it is best to leave functional programming to functional programming language, e.g. Haskell, Scheme, etc. rather than try to do functional programming in imperative languages, e.g. Java, C++, Rust, D. The reason is

Re: Functional Programming in D

2019-10-10 Thread bachmeier via Digitalmars-d-learn
On Thursday, 10 October 2019 at 10:08:14 UTC, H. S. Teoh wrote: On Thu, Oct 10, 2019 at 09:59:49AM +0100, Russel Winder via Digitalmars-d-learn wrote: On Wed, 2019-10-09 at 11:12 -0700, H. S. Teoh via Digitalmars-d-learn wrote: […] > Actually, std.functional is somewhat of a misnomer. It > most

Re: Functional Programming in D

2019-10-10 Thread Bienlein via Digitalmars-d-learn
On Thursday, 10 October 2019 at 10:08:14 UTC, H. S. Teoh wrote: On Thu, Oct 10, 2019 at 09:59:49AM +0100, Russel Winder via Digitalmars-d-learn wrote: On Wed, 2019-10-09 at 11:12 -0700, H. S. Teoh via Digitalmars-d-learn wrote: […] > Actually, std.functional is somewhat of a misnomer. It > most

Re: Functional Programming in D

2019-10-10 Thread Russel Winder via Digitalmars-d-learn
On Thu, 2019-10-10 at 03:08 -0700, H. S. Teoh via Digitalmars-d-learn wrote: […] > Note this is why I wrote "functional-style programming" w.r.t. D, rather > than "functional programming". Clearly, what D has isn't "real" > functional programming in the strict sense, but it does share similar > cha

Re: Functional Programming in D

2019-10-10 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Oct 10, 2019 at 09:59:49AM +0100, Russel Winder via Digitalmars-d-learn wrote: > On Wed, 2019-10-09 at 11:12 -0700, H. S. Teoh via Digitalmars-d-learn wrote: > […] > > Actually, std.functional is somewhat of a misnomer. It mostly deals > > with higher-order functions, i.e., functions that

Re: Functional Programming in D

2019-10-10 Thread Russel Winder via Digitalmars-d-learn
On Wed, 2019-10-09 at 11:12 -0700, H. S. Teoh via Digitalmars-d-learn wrote: […] > Actually, std.functional is somewhat of a misnomer. It mostly deals with > higher-order functions, i.e., functions that return functions, currying, > that sort of thing. These are part of functional programming, but

Re: Functional Programming in D

2019-10-10 Thread Tobias Pankrath via Digitalmars-d-learn
On Wednesday, 9 October 2019 at 18:57:01 UTC, SrMordred wrote: https://garden.dlang.io/ This should be more prominent. Very nice.

Re: Functional Programming in D

2019-10-09 Thread SrMordred via Digitalmars-d-learn
https://garden.dlang.io/

Re: Functional Programming in D

2019-10-09 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, Oct 09, 2019 at 05:41:02PM +, Jonathan Gerlach via Digitalmars-d-learn wrote: > On Wednesday, 9 October 2019 at 14:26:53 UTC, NonNull wrote: > > Hello, > > I want to become fluent in the use of functional programming > > techniques in D (as well as the use of ranges) using std.function

Re: Functional Programming in D

2019-10-09 Thread Jonathan Gerlach via Digitalmars-d-learn
On Wednesday, 9 October 2019 at 14:26:53 UTC, NonNull wrote: Hello, I want to become fluent in the use of functional programming techniques in D (as well as the use of ranges) using std.functional (and std.algorithm and whatever else is relevant). Is there anything out there that isn't just mo

Functional Programming in D

2019-10-09 Thread NonNull via Digitalmars-d-learn
Hello, I want to become fluent in the use of functional programming techniques in D (as well as the use of ranges) using std.functional (and std.algorithm and whatever else is relevant). Is there anything out there that isn't just module documentation that covers the full scope of this?