HackerTrans
TopNewTrendsCommentsPastAskShowJobs

architech

no profile record

comments

architech
·hace 4 años·discuss
https://innit.cz

Did this to try out Fable. If you mess up the letters and wait a bit it will put itself together :)
architech
·hace 5 años·discuss
> It could be even better if we can have function composition.

I think composition and piping are such basic programming tools that make a lot of code much cleaner. It's a shame they're not built-in in Python.

So, shameless plug, in the spirit of functools and itertools I made the pipetools library [0]. On top of forward-composition and piping it also enables more concise lambda expressions (e.g. X + 1) and more powerful partial application.

[0] https://0101.github.io/pipetools/doc/