Îõ³h* f ò   1.5.0.1 Safe-Inferred Ø mpd-current-json9Extract a field from the returned MPD.Status data record.,Helper to extract a specific field from the  Network.MPD#StatusNetwork.MPD.StatusÎ data record by providing the corresponding field label. If the input status "st" is not Right aÑ, indicating an error, or the field label function is not applicable, it returns Nothing.Example: òghci> import qualified Network.MPD as MPD ghci> st <- MPD.withMPD MPD.status ghci> getStatusField st MPD.stVolume Just (Just 100)mpd-current-jsonGo a level deeper than  . For nested Maybe a fields from .Example: ùghci> import qualified Network.MPD as MPD ghci> st <- MPD.withMPD MPD.status ghci> getStatusFieldElement st MPD.stVolume Just 100mpd-current-jsonEither! check for the returned value of  , then call  or return Nothing.mpd-current-jsonUse  to extract a tag from a song0, safely get only the head item of the returned Maybe* list, then safely convert it to a string.mpd-current-jsonGet the current   relative path with mpd-current-json:Get the next song's relative path in the current playlist.Using  from the returned  [Song].mpd-current-json'Safely get the head of a list. Same as  Safe#headMay Safe.headMay.mpd-current-jsonConvert   to String within a Maybe context.This Value is from    and is basically the same as a String. but used internally to store metadata values.Example: ÈprocessSong :: Metadata -> Maybe Song -> Maybe String processSong _ Nothing = Nothing processSong tag (Just song) = do let tagVal = MPD.sgGetTag tag song valueToStringMay =<< (headMay =<< tagVal)   returns a  Maybe [Value].  Network.MPDlibmpd also provides  ( that can convert, along other types, a   to a String.mpd-current-json Check if Maybe v# exists and is of type expected by   as defined in , if it is return both the key and value within the Maybe context tied with 0. This gives support to 'optional' fields using  that discard Nothingà values and is meant to prevent creating JSON key/value pairs with null values, e.g.: õjsonTags = object . catMaybes $ [ "artist" .=? artist , "album" .=? album , "title" .=? title ] !Where if a value on the right is Nothing- that key/value pair will not be included in   because of . mpd-current-json%Helper function for creating an JSON   where ? won't include items from the '[Maybe Pair]' list that return . mpd-current-json Extracts the  value from an  within , if present and the  value is a .      !" #$%&'( )* )+,/mpd-current-json-1.5.0.1-LSCdpBTWqy81QD9kywkbvmNetwork.MPD.Parsempd-current-json Network.MPDStatus currentSongsgGetTag sgFilePathResponseValueNetworkMPDtoStringgetStatusFieldgetStatusFieldElementgetTag processSongmaybePathCurrentSongmaybePathNextPlaylistSongheadMayvalueToStringMay.=? objectJsongetStatusIdInt&libmpd-0.10.0.1-JZrJPPH9ByjIkKWMGvPiLFNetwork.MPD.Commands.TypesSong$aeson-2.2.3.0-G9Z2Jit3h8hFb5zDbTBNRhData.Aeson.Types.InternalobjectData.Aeson.Types.ToJSON.=base Data.Maybe catMaybes GHC.MaybeNothingghc-prim GHC.TypesIntId Data.EitherEitherRight