morphismtech / squeal

Squeal, a deep embedding of SQL in Haskell
352 stars 32 forks source link

As suggested by -Wdeprecations; use newPool instead. #340

Closed philderbeast closed 1 year ago

philderbeast commented 1 year ago

This is the warning:

$ cabal repl squeal-postgresql
Build profile: -w ghc-8.6.5 -O1
...
src/Squeal/PostgreSQL/Session/Pool.hs:86:12: warning: [-Wdeprecations]
    In the use of ‘createPool’ (imported from Data.Pool):
    Deprecated: "Use newPool instead"
   |
86 |   liftIO $ createPool (connectdb conninfo) finish stripes idle maxResrc
   |