FP

Functional Programming, Continued

Comments are moderated. It may take a few minutes before your comment appears.
Markdown is supported in your comments.

# sample 3
elephant = ...  # global not in the arg list

def a():
    return b()

def b():
    return c()

def c():
    return d()

def d(): 
    if elephant:  # impure
        return ...
    return ...
Name:
Mail: (not shown)

Please type this: