haskell-relational-record/doc/examples/Product.hs
2013-07-03 20:52:28 +09:00

13 lines
306 B
Haskell

{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
module Product where
import Prelude hiding (id, product)
import Database.Record.TH (derivingShow)
import DataSource (defineTable)
$(defineTable []
"LEARNINGSQL" "product" [derivingShow])