Popularity
3.6
Declining
Activity
0.0
Stable
1
4
0

Monthly Downloads: 2
Programming language: Haskell
License: MIT License
Tags: Web    
Latest version: v0.1.1.0

web-fpco alternatives and similar packages

Based on the "Web" category.
Alternatively, view web-fpco alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of web-fpco or a related project?

Add another 'Web' Package

README

Wrappers for web frameworks to ease usage with the FP Complete environment.

This package provides very simplistic wrappers to enable running code using the Snap and Happstack web frameworks on the FP Complete environment. The only modification to standard behavior is that the port number is read from the PORT environment variable as opposed to being specified on either the command line or in the code itself. If you're using Yesod, the function warpEnv is provided in the Yesod module itself, which performs the same function.

For the most part, it should be sufficient to import the relevant module from this package in place of the standard module, e.g. import Snap.Http.Server.Env instead of Snap.Http.Server, or Happstack.Server.Env instead of Happstack.Server.