Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
160
Issues
160
List
Board
Labels
Milestones
Merge Requests
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
c31df9dd
Commit
c31df9dd
authored
Dec 02, 2024
by
Grégoire Locqueville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed `DbCommon` -> `IsDBEnv`
parent
9a8cff4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Prelude.hs
src/Gargantext/Database/Prelude.hs
+4
-4
No files found.
src/Gargantext/Database/Prelude.hs
View file @
c31df9dd
...
...
@@ -69,13 +69,13 @@ type CmdM' env err m =
-- a query/update on the DB, one shouldn't need more than being able to
-- fetch from the underlying 'env' the connection pool and access the
-- 'GargConfig' for some sensible defaults to store into the DB.
type
DbCommon
env
=
type
IsDBEnv
env
=
(
HasConnectionPool
env
,
HasConfig
env
)
type
CmdCommon
env
=
(
DbCommon
env
(
IsDBEnv
env
,
HasConfig
env
,
HasMail
env
,
HasNLPServer
env
...
...
@@ -88,7 +88,7 @@ type CmdM env err m =
type
CmdRandom
env
err
m
=
(
CmdM'
env
err
m
,
DbCommon
env
,
IsDBEnv
env
,
MonadRandom
m
,
HasMail
env
)
...
...
@@ -105,7 +105,7 @@ type DBCmd err a = forall m env. DbCmd' env err m => m a
-- that these constraints stays as few as possible.
type
DbCmd'
env
err
m
=
(
CmdM'
env
err
m
,
DbCommon
env
,
IsDBEnv
env
)
fromInt64ToInt
::
Int64
->
Int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment