Ticket #2 (closed enhancement: fixed)
Use a typeclass to allow for polymorphism in handling MPD commands.
| Reported by: | bens | Owned by: | bens |
|---|---|---|---|
| Priority: | major | Milestone: | beta |
| Component: | libmpd | Version: | 0.4 |
| Keywords: | api | Cc: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
