News for hackers. Stuff that matters.
Re:What it's like to use Haskell by jfischoff on Wednesday March 26, 2014 @02:46PM (#7475474)
I'll expand on the details.

We have a simple mechanism for controlling access to IO.

There are a series of type classes that provide access to all of the IO based services (mysql, redis, memcache, etc.). All of the request handlers are written to use these type classes not IO. There are two instances of the type classes, one pure for tests using fakes, and one real using IO.

There are no comments on this comment yet.