Emysql icon indicating copy to clipboard operation
Emysql copied to clipboard

Split monadic and non-monadic code

Open jlouis opened this issue 10 years ago • 1 comments

Code which communicates with the underlying socket is monadic. Code which just analyses results computationally are pure. If you split this up, then it becomes easier to test the code base by invoking internals on the purely-functional parts.

It also improves the general structure of the module and shifts responsibility around in a neat way.

jlouis avatar Feb 27 '14 13:02 jlouis

You want split into modules?

saa avatar Feb 28 '14 20:02 saa