Complete solution to the problem posed in this blog post: http://nvie.com/posts/modifying-deeply-nested-structures/
Complete solution to the problem posed in this blog post: http://nvie.com/posts/modifying-deeply-nested-structures/ - generic.py