libmpd-0.10.0.1: An MPD client library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.MPD.Applicative

Synopsis

Documentation

data Command a Source #

A compound command, comprising a parser for the responses and a combined request of an arbitrary number of commands.

Instances

Instances details
Applicative Command Source # 
Instance details

Defined in Network.MPD.Applicative.Internal

Methods

pure :: a -> Command a #

(<*>) :: Command (a -> b) -> Command a -> Command b #

liftA2 :: (a -> b -> c) -> Command a -> Command b -> Command c #

(*>) :: Command a -> Command b -> Command b #

(<*) :: Command a -> Command b -> Command a #

Functor Command Source # 
Instance details

Defined in Network.MPD.Applicative.Internal

Methods

fmap :: (a -> b) -> Command a -> Command b #

(<$) :: a -> Command b -> Command a #

runCommand :: MonadMPD m => Command a -> m a Source #

Execute a Command.

Querying MPD's status

Playback options

Controlling playback

The current playlist

Stored playlists

The music database

Stickers

Connection settings

Audio output devices

Reflection

Mounting

Client-to-client