libmpd-0.9.2.0: An MPD client library.

Safe HaskellNone
LanguageHaskell2010

Network.MPD.Applicative

Contents

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
Functor Command Source # 
Instance details

Defined in Network.MPD.Applicative.Internal

Methods

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

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

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 #

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