From 934297d75700bdb96920c76c7ff06bed9ab723d2 Mon Sep 17 00:00:00 2001 From: Derek Date: Mon, 15 Apr 2024 23:03:10 -0700 Subject: [PATCH] Update Persistent language extensions in Person table code example --- book/asciidoc/persistent.asciidoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book/asciidoc/persistent.asciidoc b/book/asciidoc/persistent.asciidoc index 5c4898d..25a7c82 100644 --- a/book/asciidoc/persistent.asciidoc +++ b/book/asciidoc/persistent.asciidoc @@ -337,6 +337,8 @@ pass it off to other Persistent functions. {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeFamilies #-} +{-# LANGUAGE StandaloneDeriving #-} +{-# LANGUAGE FlexibleInstances #-} import Control.Monad.IO.Class (liftIO) import Database.Persist