Project setup and implementation sketch

This commit is contained in:
2023-09-02 03:39:35 +02:00
commit 4dd23d561e
8 changed files with 275 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
{-# LANGUAGE DeriveGeneric #-}
module Main (main) where
import GHC.Generics (Generic)
import Database.PostgreSQL.Opium (FromRow)
data Person = Person
{ name :: String
, age :: Int
-- , lovesCats :: Bool
} deriving (Generic)
instance FromRow Person where
main :: IO ()
main = putStrLn "TBD"