Update examples along with library updates.

This commit is contained in:
Kei Hibino 2014-01-05 22:52:57 +09:00
parent c8c1874c8c
commit d417e3eed9
10 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances #-}
module Account where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances #-}
module Branch where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances #-}
module Business where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances #-}
module Customer where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances #-}
module Department where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances #-}
module Employee where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances #-}
module Individual where

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances #-}
module Officer where

View File

@ -5,7 +5,7 @@ import Database.Record
import Database.Relational.Query
import Database.HDBC (IConnection, SqlValue)
import Data.Int (Int32)
import Data.Int (Int32, Int64)
import qualified Account
import Account (Account(..), account)
@ -182,7 +182,7 @@ union1' =
-- ORDER BY open_emp_id
-- @
--
group1 :: Relation () (Maybe Int32, Int32)
group1 :: Relation () (Maybe Int32, Int64)
group1 =
aggregateRelation
[ g >< count a

View File

@ -1,4 +1,4 @@
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances #-}
module Transaction where