File: sanity.hs

package info (click to toggle)
haskell-persistent-sqlite 2.13.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,436 kB
  • sloc: ansic: 159,841; haskell: 1,754; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 263 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
import Control.Monad.Logger

import Database.Persist.Sqlite

$(return []) -- just force TH to run

main :: IO ()
main = runStderrLoggingT $ withSqliteConn ":memory:" $ runSqlConn waitForDatabase