Ticket #2 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

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

Changed 6 years ago by bens

  • type changed from defect to enhancement

Changed 6 years ago by bens

  • status changed from new to assigned

Changed 6 years ago by bens

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.