|
|
|
|
|
by rgoulter
2367 days ago
|
|
I think there's a bit of a leap between "Option types are useful" and "using terminology to describe simple and common patterns of computation", though. I think it's not too far from practicality to describe the solution in OP as along the lines of "solving fizzbuzz by combining infinite streams". It's a quirky/cute solution. I think there's a jump from "knowing these functions / structures can be useful" and "let's use terms like 'semigroup resonance' and 'catamorphism'". |
|
Names like StateT and Reader can surely be improved but the names taken directly from mathematics are already the best we can do imo.