Hide backend-specific types inside Conn.
commit185f59be3a9d76de4d19a7f1b1a4ded068bf7fb6
authorBen Sinclair <bsinclai@turing.une.edu.au>
Mon, 8 Oct 2007 16:57:00 +0000 (8 16:57 +0000)
committerBen Sinclair <bsinclai@turing.une.edu.au>
Mon, 8 Oct 2007 16:57:00 +0000 (8 16:57 +0000)
treeddedb9ce11b560a8f3f66e8a901bd6d79fa4dba2
parentabfefd2fc036bc52f4b8548b4c3a312daf4e8df4
Hide backend-specific types inside Conn.

Conn is now a datatype with an existential quantifier that hides the
types specific to each backend. Now the commands can all have nice
"MPD a" style type signatures with no ugly classes intruding.

darcs-hash:20071008165718-87dc9-e45226ed9c56b4d1c760ca6e070a7d91304f8bc4.gz
Network/MPD/Commands.hs
Network/MPD/Prim.hs
Network/MPD/SocketConn.hs