Hacker News new | ask | show | jobs
by mcguire 3294 days ago
"A Monoid is just an operation and its identity, which should be exactly what you need for length."

And I'm wrong about that. You need a zero and a one, right. What would that structure be?