Name: mysnapsession-example
Version: 0.1
Synopsis: Example project using mysnapsession
Description: This is a simple web application that uses the
mysnapsession package's continuation programming model
to build an animal guessing game.
License: BSD3
License-file: LICENSE
Author: Chris Smith <cdsmith@gmail.com>
Maintainer: Chris Smith <cdsmith@gmail.com>
Stability: Experimental
Category: Web
Build-type: Simple
Cabal-version: >=1.6
Extra-source-files: resources/static/*.css, resources/templates/*.tpl
Executable testsnap
Hs-source-dirs: src
Main-is: Main.hs
Other-modules: Main, Application, Site
Build-depends:
base >= 4 && < 5,
bytestring >= 0.9.1 && < 0.10,
heist >= 0.4 && < 0.5,
hexpat >= 0.19 && < 0.20,
MonadCatchIO-transformers >= 0.2.1 && < 0.3,
mtl >= 2 && < 3,
snap >= 0.3 && < 0.4,
snap-core >= 0.3 && < 0.4,
snap-server >= 0.3 && <0.4,
text >= 0.11 && < 0.12,
time >= 1.1 && < 1.3,
mysnapsession == 0.1.*
extensions: TypeSynonymInstances MultiParamTypeClasses
if impl(ghc >= 6.12.0)
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-orphans -fno-warn-unused-do-bind
else
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-orphans