Hero Discussion of the Day: Morphling (September 14, 2011)
Hero Discussion of the Day: Axe (September 15, 2011)
Hero Discussion of the Day: Nature's Prophet (September 16, 2011)
Hero Discussion of the Day: Night Stalker (September 17, 2011)
| module DotGo where | |
| import Control.Concurrent.Async | |
| import Control.Monad | |
| import Pipes | |
| import Pipes.Concurrent | |
| import qualified Pipes.Prelude as Pipes | |
| main :: IO () | |
| main = do |
| #!/usr/bin/env runhaskell | |
| {-# LANGUAGE OverloadedStrings #-} | |
| module HeroDiscussion where | |
| import Control.Applicative | |
| import Control.Arrow | |
| import Control.Monad.IO.Class | |
| import Data.Attoparsec.Text as Parser |
| data NamedRoutesTH api | |
| class ToServantApiTH routes where | |
| type ServantApiTH routes :: Type | |
| toServantTH :: routes (AsServerT m) -> ServerT (ServantApiTH routes) m | |
| fromServantTH :: ServerT (ServantApiTH routes) m -> routes (AsServerT m) | |
| instance | |
| ( ToServantApiTH api |