January 2020
Intermediate to advanced
470 pages
11h 13m
English
There's another interesting way of currying a function—by creating a new one by means of eval(). Yes—that unsafe, dangerous eval()! (Remember what we said earlier: this is for learning purposes, but you'll be better off avoiding the potential security headaches that eval() can bring!) We will also be using the range() function that we wrote in the Working with ranges section of Chapter 5, Programming Declaratively – A Better Style.
Read now
Unlock full access