3 ms·
I often use this algorithm: 1. write a function in pointed style 2. run it through pointfree 3. is it shorter/easier to read? then use pointfree's definition
by how_gauche 17y ago
I often use this algorithm:
1. write a function in pointed style
2. run it through pointfree
3. is it shorter/easier to read? then use pointfree's definition
This is really a personal shortcoming though because after 20+ years of writing code in "standard" languages my brain is sufficiently warped that I'm not always able to think of the short and clear solution without "grinding the gears".