The web-fpco package

[ Tags: library, mit, web ] [ Propose Tags ]

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.

Properties

Versions 0.1.0.0, 0.1.1.0
Dependencies base (==4.*), happstack-server (>=7.1), safe (>=0.3), snap (>=0.11), snap-core (>=0.9), snap-server (>=0.9) [details]
License MIT
Author Michael Snoyman
Maintainer michael@fpcomplete.com
Category Web
Home page https://github.com/fpco/web-fpco
Uploaded Tue Apr 16 06:05:47 UTC 2013 by MichaelSnoyman
Distributions NixOS:0.1.1.0
Downloads 745 total (5 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees