Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
omnibs committed May 20, 2024
1 parent 25878b6 commit 386357e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions nri-redis/src/Redis.hs
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ module Redis
where

import qualified Data.Aeson as Aeson
import qualified Redis.Script as Script
import qualified Database.Redis
import qualified Data.ByteString as ByteString
import Data.List.NonEmpty (NonEmpty)
import qualified Data.List.NonEmpty as NonEmpty
import qualified Database.Redis
import qualified Dict
import qualified NonEmptyDict
import qualified Redis.Codec as Codec
import qualified Redis.Handler as Handler
import qualified Redis.Internal as Internal
import qualified Redis.Script as Script
import qualified Redis.Settings as Settings
import qualified Prelude

Expand Down
4 changes: 2 additions & 2 deletions nri-redis/src/Redis/Handler.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import Control.Monad.IO.Class (liftIO)
import qualified Data.Acquire
import qualified Data.ByteString
import qualified Data.List.NonEmpty as NonEmpty
import qualified Redis.Script as Script
import qualified Data.Text.Encoding
import qualified Database.Redis
import qualified Dict
import qualified GHC.Stack as Stack
import qualified Platform
import qualified Redis.Internal as Internal
import qualified Redis.Script as Script
import qualified Redis.Settings as Settings
import qualified Set
import qualified Text
Expand Down Expand Up @@ -167,7 +167,7 @@ doRawQuery query =
|> PreparedQuery
|> map (Ok << Prelude.fromIntegral)
Internal.Eval script ->
Database.Redis.eval (toB (Script.luaScript script)) (map toB (Script.paramNames script)) (map toB(Script.paramValues script))
Database.Redis.eval (toB (Script.luaScript script)) (map toB (Script.paramNames script)) (map toB (Script.paramValues script))
|> PreparedQuery
|> map Ok
Internal.Exists key ->
Expand Down
2 changes: 1 addition & 1 deletion nri-redis/src/Redis/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ import qualified List
import qualified Log.RedisCommands as RedisCommands
import NriPrelude hiding (map, map2, map3)
import qualified Platform
import qualified Redis.Settings as Settings
import qualified Redis.Script as Script
import qualified Redis.Settings as Settings
import qualified Set
import qualified Text
import qualified Tuple
Expand Down

0 comments on commit 386357e

Please sign in to comment.