libmpd-0.10.0.1: An MPD client library.

Safe Haskell | None
Language | Haskell2010

Network.MPD.Applicative

Contents

- 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

Synopsis

- data Command a
- runCommand :: MonadMPD m => Command a -> m a
- module Network.MPD.Applicative.Status
- module Network.MPD.Applicative.PlaybackOptions
- module Network.MPD.Applicative.PlaybackControl
- module Network.MPD.Applicative.CurrentPlaylist
- module Network.MPD.Applicative.StoredPlaylists
- module Network.MPD.Applicative.Database
- module Network.MPD.Applicative.Stickers
- module Network.MPD.Applicative.Connection
- module Network.MPD.Applicative.Output
- module Network.MPD.Applicative.Reflection
- module Network.MPD.Applicative.Mount
- module Network.MPD.Applicative.ClientToClient

# 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 Source # (<*>) :: Command (a -> b) -> Command a -> Command b Source # liftA2 :: (a -> b -> c) -> Command a -> Command b -> Command c Source # (*>) :: Command a -> Command b -> Command b Source # (<*) :: Command a -> Command b -> Command a Source #
Functor Command Source # |
Instance details Defined in Network.MPD.Applicative.Internal Methods fmap :: (a -> b) -> Command a -> Command b Source # (<$) :: a -> Command b -> Command a Source #

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

Execute a `Command`.

# Querying MPD's status

module Network.MPD.Applicative.Status

# Playback options

module Network.MPD.Applicative.PlaybackOptions

# Controlling playback

module Network.MPD.Applicative.PlaybackControl

# The current playlist

module Network.MPD.Applicative.CurrentPlaylist

# Stored playlists

module Network.MPD.Applicative.StoredPlaylists

# The music database

module Network.MPD.Applicative.Database

# Stickers

module Network.MPD.Applicative.Stickers

# Connection settings

module Network.MPD.Applicative.Connection

# Audio output devices

module Network.MPD.Applicative.Output

# Reflection

module Network.MPD.Applicative.Reflection

# Mounting

module Network.MPD.Applicative.Mount

# Client-to-client

module Network.MPD.Applicative.ClientToClient