This file contains 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 GeneralizedNewtypeDeriving #-} | |
{-# LANGUAGE FlexibleInstances #-} | |
{-# LANGUAGE MultiParamTypeClasses #-} | |
{-# LANGUAGE UndecidableInstances #-} | |
module MyApp where | |
import Control.Applicative | |
import Control.Monad.State | |
import Control.Monad.Reader | |
import Control.Monad.Error |
This file contains 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
{-# OPTIONS_GHC -F -pgmFtrhsx #-} | |
module Main (main) where | |
import Control.Monad | |
import Happstack.Server | |
import qualified Text.Blaze.Html5 as H | |
import Data.String (fromString) |