keter/test/postgres.hs

12 lines
238 B
Haskell
Raw Normal View History

2012-05-06 20:09:27 +04:00
{-# LANGUAGE OverloadedStrings #-}
import Keter.Postgres
main :: IO ()
main = do
pg <- load "postgres.yaml"
getInfo pg "foo" >>= print
getInfo pg "bar" >>= print
getInfo pg "foo" >>= print
getInfo pg "bar" >>= print