
On Thu, Feb 2, 2012 at 6:37 PM, Bryan Richter
I like it a lot!
That's great to hear =).
I like it so much that I thought about it a really long time and ended up writing a "blog" of my own in response. :)
Please excuse this abuse of gists, but I have no other convenient way of creating a post with markdown and haskell markup[1] readily available to me:
If I'm correctly understanding your concerns (and please correct me if I'm wrong), your qualm is only with the name "Permission" which you think that should be "Credential". When you say that many actions may be satisfied by the same crendential, you're absolutely right. On my project we have 6 times more routes than permissions ;-). So perhaps I'm already doing what you're proposing but using another name? Alas, you could say "permission to modify box" =). Regarding the foldM, I'm just not used to monadic folds enough to see them in the heat of battle =). Thanks for sharing your thoughts! -- Felipe.