Home

Awesome

<div align="center"> <h1> <img src="trout.jpg" alt="Trout" width="300"> <br> Trout </h1> </div> <p align="center"> <em>Type-Level Routing for PureScript</em> </p> <hr>

Trout is a Servant-style routing type API. By using routing types you get static guarantees about having handled all cases. You also get a lot of stuff for free, such as type-safe parameters for handlers, and automatically generated type-safe URIs to endpoints.

The primary use of Trout right now is for Hyper and the purescript-hypertrout server package. There is, however, nothing Hyper-specific about this package.

Usage

bower install --save purescript-trout

This package should get its own proper documentation soon. In the meantime, see purescript-hypertrout.

API Documentation

This library's API documentation is published on Pursuit.

Changelog

License

Mozilla Public License Version 2.0

Logo credit: https://commons.wikimedia.org/wiki/File:Lake_Trout_GLERL.jpg