First and foremost, the code is not working as posted. One has to add from toolz import curry, compose . Apart from this I like the solution ... ... <看更多>
But OCaml and many other languages (including Java and Python) use the shorter word map, in the mathematical sense of how a function maps an input to an ... ... <看更多>