trout

Type-Level Routing for PureScript


License
MPL-2.0
Install
psc-package install trout

Documentation

purescript-hyper-routing

Type-level Routing API for Hyper

The purescript-hyper-routing package brings a Servant-style routing type API to Hyper. 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.

Usage

For the documentation on how to use this package, please head over to the extensions section in the Hyper documentation, and the part on Type-Level Routing.

There is also a runnable example in this repository.

API Documentation

This library's API documentation is published on Pursuit.