Hacker News new | ask | show | jobs
by anon291 114 days ago
This is the standard type class approach. Haskell does the same thing.