factual-api-0.3.2: A driver for the Factual API

Safe HaskellSafe-Infered

Data.Factual.Write

Contents

Description

This module exports the definition of the Write typeclass.

Synopsis

Query typeclass

class Write w whereSource

A member of the Write typeclass must define a url method which returns the write url as a string and a body method which returns of the body of the write.

Methods

path :: w -> StringSource

body :: w -> StringSource

Instances