Now there is no way to cram IO in certain lambdas, which are in Generic Context. Unlike ruby or python, haskell is pure language.
This is necessary, for example, to read file or render template which is in lambda.
I tried to add this feature, but typechecker blew my brain. Use manually created MuContext for monads.
Can you provide example?
Hmm. I did it. I will send pull request to you.
- Monadic Lambdas in Generic context. Closes lymar/hastache/#8
- Add EclipseFP trash to .gitignore
Fantastic! Thank you for commit.
Please, can you update hastache on hackage?