Skip to content

Commit

Permalink
Fix CPP formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-volkov committed Jan 21, 2024
1 parent ee72709 commit 75b96e4
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions library/Hasql/Implicits/Encoders.hs
Original file line number Diff line number Diff line change
Expand Up @@ -67,24 +67,26 @@ instance DefaultParamEncoder (Maybe (Vector (Vector (Maybe VALUE)))) where { \
defaultParam = (nullable . array . dimension foldlStrict . dimension foldlStrict . element . nullable) ENCODER; \
}

INSTANCES (Char, char)
INSTANCES (Double, float8)
INSTANCES (Float, float4)
INSTANCES (Int16, int2)
INSTANCES (Int32, int4)
INSTANCES (Int64, int8)
INSTANCES (ByteString, bytea)
INSTANCES (Scientific, numeric)
INSTANCES (Text, text)
INSTANCES (UTCTime, timestamptz)
INSTANCES (Aeson.Value, jsonb)
INSTANCES (UUID, uuid)
INSTANCES (Day, date)
INSTANCES (DiffTime, interval)
INSTANCES (TimeOfDay, time)
INSTANCES (LocalTime, timestamp)
INSTANCES ((TimeOfDay, TimeZone), timetz)
INSTANCES ((NetAddr IP), inet)
INSTANCES (Bool, bool)
{- ORMOLU_DISABLE -}
INSTANCES(Char, char)
INSTANCES(Double, float8)
INSTANCES(Float, float4)
INSTANCES(Int16, int2)
INSTANCES(Int32, int4)
INSTANCES(Int64, int8)
INSTANCES(ByteString, bytea)
INSTANCES(Scientific, numeric)
INSTANCES(Text, text)
INSTANCES(UTCTime, timestamptz)
INSTANCES(Aeson.Value, jsonb)
INSTANCES(UUID, uuid)
INSTANCES(Day, date)
INSTANCES(DiffTime, interval)
INSTANCES(TimeOfDay, time)
INSTANCES(LocalTime, timestamp)
INSTANCES((TimeOfDay, TimeZone), timetz)
INSTANCES((NetAddr IP), inet)
INSTANCES(Bool, bool)
{- ORMOLU_ENABLE -}

#undef INSTANCES

0 comments on commit 75b96e4

Please sign in to comment.