lymar / hastache

Haskell implementation of Mustache template
Other
96 stars 16 forks source link

Remove spurious IO requirement. #39

Open davean opened 10 years ago

davean commented 10 years ago

It seems the code was written using an IORef which caused MonadIO to be required when simply Monad would have done. I modified it to be based on StateT and ran the included tests.

My motivation for this is I have to run it where I can't access IO.

co-dan commented 10 years ago

Thank you, @davean, I will have to look at this later

co-dan commented 10 years ago

I think this will have to go to 0.7 eventually.