News for hackers. Stuff that matters.
Re:Ask HN: Why Haskell? by platz on Monday March 31, 2014 @10:13PM (#7505739)
I think even the visitor pattern isn't required here, all you need is subclassing. Although this clutters things up more by having abstract methods in the base class, technically that's all you need.
Re:Ask HN: Why Haskell? by SamReidHughes on Monday March 31, 2014 @10:43PM (#7505844)
Sure.