Issue 8798 - Replace outdated curry example

https://issues.dlang.org/show_bug.cgi?id=8798