Pure FP in Python