The snap-core package

[Tags: bsd3, library]

This is the first developer prerelease of the Snap framework. 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)

2. Type aliases and helper functions for Iteratee I/O

3. A monad for programming web handlers called "Snap", inspired by happstack's (http://happstack.com/index.html), which allows:

Quick start: The Snap monad and HTTP definitions are in Snap.Types, some iteratee utilities are in Snap.Iteratee.

Higher-level facilities for building web applications (like user/session management, component interfaces, data modeling, etc.) are planned but not yet implemented, so this release will mostly be of interest for those who:


Properties

Versions0.1.1, 0.1.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.7.1, 0.2.8, 0.2.8.1, 0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.2.13, 0.2.14, 0.2.15, 0.2.15.1, 0.2.16, 0.3.0, 0.3.1, 0.3.1.1, 0.4.0, 0.4.0.1, 0.4.0.2, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.5.1, 0.5.1.1, 0.5.1.2, 0.5.1.3, 0.5.1.4, 0.5.2, 0.5.3, 0.5.3.1, 0.5.4, 0.5.5, 0.6.0, 0.6.0.1, 0.7, 0.7.0.1, 0.8.0, 0.8.0.1, 0.8.1, 0.9.0, 0.9.2, 0.9.2.1, 0.9.2.2, 0.9.3, 0.9.3.1, 0.9.4.0, 0.9.4.1, 0.9.5.0, 0.9.6.0, 0.9.6.1, 0.9.6.2, 0.9.6.3
Dependenciesattoparsec (>=0.8.1 && <0.9), base (==4.*), bytestring, bytestring-nums, bytestring-show (>=0.3.2 && <0.4), cereal (==0.3.*), containers, deepseq (==1.1.*), directory, directory-tree, dlist (==0.5.*), filepath, haskell98, iteratee (>=0.3.1 && <0.4), ListLike (==1.*), MonadCatchIO-transformers (>=0.2.1 && <0.3), monads-fd (<0.1.0.3), old-locale, old-time, template-haskell, text (==0.10.*), time, transformers, unix-compat, zlib
LicenseBSD3
AuthorJames Sanders, Shu-yu Guo, Gregory Collins, Doug Beardsley
Maintainersnap@snapframework.com
CategoryWeb
Home pagehttp://snapframework.com/
Source repositoryhead: git clone http://git.snapframework.com/snap-core.git
Executablessnap
UploadedWed Nov 10 20:11:28 UTC 2010 by GregoryCollins
DistributionsDebian:0.9.6.3, Fedora:0.9.4.0, FreeBSD:0.9.3.1, NixOS:0.9.6.3, Stackage:0.9.6.3
Downloads28207 total (1260 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefault
portableCompile in cross-platform mode. No platform-specific code or optimizations such as C routines will be used.Disabled
no-debugDisable any debug logging code. Without this flag, Snap will test the DEBUG environment variable to decide whether to do logging, and this introduces a tiny amount of overhead (a call into a function pointer) because the calls to 'debug' cannot be inlined. Users who want to squeeze out maximum performance can set the no-debug flag to get a version of Snap which has debug calls that should be inlined away.Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees