Y
Hacker News
new
|
ask
|
show
|
jobs
by
dvberkel
4570 days ago
I would concur with npryce. I your structure would adhere to the monoid interface and the default value could be cast automatically to the corresponding identity this will work. It wouldn't even break mathematics