Diwali hacks

November 12, 2015

After quite a long time, I got some spare hours to hack on open source projects during this Diwali holidays. I added a helper function in persistent which in my opinion is super cool:

The liftSqlPersistMPool is simply defined like this:

And this will help in converting code like this:

to:

Ain’t that neat? :-)

The other patches for persistent included some cleanup, some documentation and a ownership related patch. Although, I plan to work on the ownership related code later. (See Issue 390 for more details.)

Also, I briefly hacked on the emacs haskell-mode package. Sent some minor patch related to hayoo and cleanup.

With respect to mathematics, I was not able to progress much besides reading some pages in Chapter 5. But I’m almost at the end of the chapter 5.