rdioh-0.2.1: A Haskell wrapper for Rdio's API.

Safe HaskellNone

Rdioh.Util

Synopsis

Documentation

toParams :: [(String, String)] -> StringSource

used internally to convert a list of parameters to a string that can be passed via GET/POST

(<+>) :: Param p => [(String, String)] -> (String, Maybe p) -> [(String, String)]Source

used internally

class Param a whereSource

used internally to easily convert different Rdio types to params for | requests. You can use toParam to do this if you want.

Methods

toParam :: a -> StringSource