Avoid using capitalized "Esqueleto" when referring to the library.
This commit is contained in:
parent
e571513ddb
commit
80d60bb9b6
@ -1,5 +1,5 @@
|
|||||||
{-# LANGUAGE FlexibleContexts, FlexibleInstances, GADTs #-}
|
{-# LANGUAGE FlexibleContexts, FlexibleInstances, GADTs #-}
|
||||||
-- | Main module of Esqueleto. This module replaces
|
-- | Main module of @esqueleto@. This module replaces
|
||||||
-- @Database.Persist@, so instead of importing that module you
|
-- @Database.Persist@, so instead of importing that module you
|
||||||
-- should just import this one:
|
-- should just import this one:
|
||||||
--
|
--
|
||||||
@ -15,7 +15,7 @@
|
|||||||
-- import qualified Database.Persist.Query as OldQuery
|
-- import qualified Database.Persist.Query as OldQuery
|
||||||
-- @
|
-- @
|
||||||
module Database.Esqueleto
|
module Database.Esqueleto
|
||||||
( -- * Esqueleto's Language
|
( -- * @esqueleto@'s Language
|
||||||
Esqueleto( where_, orderBy, asc, desc, sub, (^.), val
|
Esqueleto( where_, orderBy, asc, desc, sub, (^.), val
|
||||||
, isNothing, just, nothing, not_, (==.), (>=.)
|
, isNothing, just, nothing, not_, (==.), (>=.)
|
||||||
, (>.), (<=.), (<.), (!=.), (&&.), (||.)
|
, (>.), (<=.), (<.), (!=.), (&&.), (||.)
|
||||||
@ -43,5 +43,5 @@ import Database.Persist.GenericSql
|
|||||||
-- $reexports
|
-- $reexports
|
||||||
--
|
--
|
||||||
-- We re-export @Database.Persist.Store@ for convenience, since
|
-- We re-export @Database.Persist.Store@ for convenience, since
|
||||||
-- Esqueleto currently does not provide a way of doing @insert@s
|
-- @esqueleto@ currently does not provide a way of doing
|
||||||
-- or @update@s.
|
-- @insert@s or @update@s.
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import Database.Persist.GenericSql
|
|||||||
import Database.Persist.Store
|
import Database.Persist.Store
|
||||||
|
|
||||||
|
|
||||||
-- | Finally tagless representation of Esqueleto's EDSL.
|
-- | Finally tagless representation of @esqueleto@'s EDSL.
|
||||||
class (Functor query, Applicative query, Monad query) =>
|
class (Functor query, Applicative query, Monad query) =>
|
||||||
Esqueleto query expr backend | query -> expr backend, expr -> query backend where
|
Esqueleto query expr backend | query -> expr backend, expr -> query backend where
|
||||||
-- | (Internal) Single entity version of 'from'.
|
-- | (Internal) Single entity version of 'from'.
|
||||||
|
|||||||
@ -33,7 +33,7 @@ import qualified Data.Text.Lazy.Builder as TLB
|
|||||||
import Database.Esqueleto.Internal.Language
|
import Database.Esqueleto.Internal.Language
|
||||||
|
|
||||||
|
|
||||||
-- | SQL backend for 'Esqueleto' using 'SqlPersist'.
|
-- | SQL backend for @esqueleto@ using 'SqlPersist'.
|
||||||
newtype SqlQuery a =
|
newtype SqlQuery a =
|
||||||
Q { unQ :: W.WriterT SideData (S.Supply Ident) a }
|
Q { unQ :: W.WriterT SideData (S.Supply Ident) a }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user