Ticket #2 (closed enhancement: fixed)
Use a typeclass to allow for polymorphism in handling MPD commands.
|Reported by:||bens||Owned by:||bens|
Currently N.M.Core.MPD is a datatype that contains some actions in IO which can be interchanged and so allows for polymorphism. This is kind of hacky and ensures that all runMPD-like functions will be in IO, which isn't ideal. Using a typeclass we should be able to run tests without IO.