Package Info

ghc-snap-core


Snap: A Haskell Web Framework (core interfaces and types)


Unspecified

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 <http://snapframework.com/>.

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)

  1. 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

/Quick start/: The 'Snap' monad and HTTP definitions are in "Snap.Core".


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/snap-core

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.0.4.2-bp155.2.14 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-snap-core
  • ghc-snap-core-devel
1.0.4.2-bp154.1.15 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-snap-core
  • ghc-snap-core-devel
1.0.2.1-bp150.1.3 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • x86-64
  • ghc-snap-core
  • ghc-snap-core-devel