SPELL=haskell-snap-core VERSION=1.0.3.2 SOURCE="snap-core-${VERSION}.tar.gz" SOURCE_URL[0]=https://hackage.haskell.org/package/snap-core-${VERSION}/${SOURCE} SOURCE_HASH=sha512:83f60dd07e6f75779ebf44601fa7bb3d3e67936409d00df46dd03b9353325e74a90c0f915e3787991383047508dff507e1d7d09ee8eed62988abf6aca0594326 SOURCE_DIRECTORY="${BUILD_DIRECTORY}/snap-core-${VERSION}" WEB_SITE="http://snapframework.com/" LICENSE[0]=BSD ENTERED=20150804 SHORT="a Haskell Web Framework (core interface and types)" cat << EOF Snap is a simple and fast web development framework and server written in Haskell. 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", which allows: * Stateful access to the HTTP request and response objects * Monadic failure (i.e. MonadPlus/Alternative instances) for declining to handle requests and chaining handlers together * Early termination of the computation if you know early what you want to return and want to prevent further monadic processing EOF