
Snap is a simple and fast web development framework and server written in haskell. for more information or to download the latest version, you can visit the snap project website at
.
this library contains the core definitions and types for the snap framework, including:
1. primitive types and functions for http (requests, responses, cookies, post/query parameters, etc)
2. type aliases and helper functions for iteratee i/o
3. a monad for programming web handlers called \"snap\", inspired by happstack's (
), which allows:
o stateful access to the http request and response objects
o monadic failure (i.e. monadplus/alternative instances) for declining to handle requests and chaining handlers together
o early termination of the computation if you know early what you want to return and want to prevent further monadic processing
this package contains the normal library files.