snapframework / snap

Top-level package for the official Snap Framework libraries, includes the snaplets API as well as infrastructure for sessions, auth, and templates.
http://snapframework.com/
BSD 3-Clause "New" or "Revised" License
455 stars 68 forks source link

Add an instance MonadFix Initializer #110

Open ocharles opened 10 years ago

ocharles commented 10 years ago

It looks like Initializer is just a combination of reader and state monads, so it should be possible to get a MonadFix instance out of this. I would like to use this as we have our Initializer split over two modules and MonadFix gives me a nice way to "share" some parameters between them. I'll see if I can provide a pull request soon.