From 75b96e4023c5f3614b484997ac2597be4f1f7cfb Mon Sep 17 00:00:00 2001 From: Nikita Volkov Date: Mon, 22 Jan 2024 01:22:21 +0300 Subject: [PATCH] Fix CPP formatting --- library/Hasql/Implicits/Encoders.hs | 40 +++++++++++++++-------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/library/Hasql/Implicits/Encoders.hs b/library/Hasql/Implicits/Encoders.hs index 36c2962..331f442 100644 --- a/library/Hasql/Implicits/Encoders.hs +++ b/library/Hasql/Implicits/Encoders.hs @@ -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