packages feed

factual-api-0.1.0: Data/Factual/Query.hs

-- | This module exports the definition of the Query typeclass.
module Data.Factual.Query
  (
  -- * Query typeclass
  Query(..)) where

-- | A member of the Query typeclass must define a toPath method which converts
--   the Query into a path String.
class Query q where
  toPath :: q -> String