Haskell-style currying for Python