File: sanity.hs

package info (click to toggle)
haskell-persistent-sqlite 1.3.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,116 kB
  • ctags: 7,877
  • sloc: ansic: 87,913; haskell: 732; makefile: 3
file content (8 lines) | stat: -rw-r--r-- 205 bytes parent folder | download
1
2
3
4
5
6
7
8
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
import Database.Persist.Sqlite

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

main :: IO ()
main = withSqliteConn ":memory:" $ const $ return ()