The snap-core package

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:

Flags

Name

Description

Default

Type

portable

Compile in cross-platform mode. No platform-specific code or
optimizations such as C routines will be used.

Disabled

Automatic

debug

Enable debug logging code. With 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.

Disabled

Automatic

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

Building snap-core

Building the Haddock Documentation

The haddock documentation can be built using the supplied haddock.sh shell
script:

./haddock.sh

The docs get put in dist/doc/html/.

Building the testsuite

Snap is still in its very early stages, so most of the "action" (and a big
chunk of the code) right now is centred on the test suite. Snap aims for 100%
test coverage, and we're trying hard to stick to that.