
19 Sep
2008
19 Sep
'08
8:39 p.m.
On Fri, Sep 19, 2008 at 7:35 PM, Antoine Latter
I'm not sure how well it would hold up under maintenance, but you coud have a config sum-type which is itself a monoid, and then create two of them:
And by sum-type I mean product type. Sheesh. Although having your config options in a sum-type packed into a Set, which is itself a Monoid is another option. Then you get 'mempty' and 'mappend' for free. I think I saw a blog-post or something detailing this, but I don't have a book-mark. -Antoine