This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE EmptyDataDecls #-} | |
| {-# LANGUAGE PackageImports #-} | |
| module Snaplets where | |
| import "monads-fd" Control.Monad.State | |
| import Data.ByteString (ByteString) | |
| import Data.Dynamic | |
| import Data.Map (Map) | |
| import Snap.Types |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE OverloadedStrings #-} | |
| module Main where | |
| import Control.Applicative | |
| import Control.Monad.Trans | |
| import qualified Data.ByteString.Lazy as L | |
| import Snap.Http.Server | |
| import Snap.Types | |
| import Snap.Util.FileServe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE BangPatterns #-} | |
| module Network.ConnectionPool | |
| ( withConnection | |
| , newConnectionPool | |
| , closeConnectionPool | |
| , ConnectionPool | |
| ) where | |
| ------------------------------------------------------------------------ |
NewerOlder