Hello Bryan,
On Thu, Dec 8, 2011 at 6:03 PM, Bryan O'Sullivan
<bos@serpentine.com> wrote:
And what about the more experimental things? Say, DeepSeq, Typeable, Data?
None of those are experimental. They're all frequently used in production code. DeepSeq is far more important than the other two, though. For Typeable and Data, you could copy the approach taken by Data.Map and be fine.
Well, including a some file via CPP did look experimental enough to me. I'd like to stay away from GHC-only code, if possible.
At some point, if you want your container class to be useful to others, you'll want to implement Foldable and Traversable.
Being useful to others would be the whole point in releasing it at all :-)
Thanks for your explanations - I take this as: "Yes, the Haskell community is really using all this stuff in production code, so better offer it, or your library might not be that usable."
I'll try to be complete, then.
- Chris