[your code here] Pure RPN calculator

GrrrrrAngryMan via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 25 18:03:29 PDT 2017


On Tuesday, 25 July 2017 at 21:13:54 UTC, Max Haughton wrote:
> Semi-Functional/pure RPN calculator: 
> https://run.dlang.io/is/JGkBZx
>
> This is probably too long, but it demonstrates the compiler 
> enforced safety and purity (State is passed through the fold), 
> while also showing off the higher level parts of Phobos (Use of 
> fold).

Answer to this 
https://forum.dlang.org/post/dhuvztizmqysqsepmpgh@forum.dlang.org.
This is exactly what the author looked for.


More information about the Digitalmars-d mailing list