pursuit-client-0.1.0: A cli client for pursuit

Safe HaskellNone
LanguageHaskell2010

Web.Pursuit.Client

Description

API for querying pursuit.purescript.org

Synopsis

Documentation

data Result Source #

A single result of a query

Constructors

Result 

Fields

Instances

data Content Source #

Different types of results

Constructors

Value Text Text Text

name, signature, package

Type Text [Text] Text Text

name, type args, body, package

NewType Text [Text] Text

name, type args, package

Data Text [Text] Text

name, type args, package

Class Text [Text] Text

name, type args, package

Module Text Text

name, package

Package Text

package

search :: String -> IO (Either String [Result]) Source #

search in pursuit

showResult :: Result -> Text Source #

Pretty print a result

showContent :: Content -> Text Source #

Pretty print the contents of a result