@@ -38,17 +38,16 @@ module Squeal.PostgreSQL.Expression.Range
38 , moreThan, atLeast, lessThan, atMost
38 , moreThan, atLeast, lessThan, atMost
39 , singleton, whole
39 , singleton, whole
40 , Bound (..)
40 , Bound (..)
52 , lowerBound
51 , lowerBound
53 , upperBound
52 , upperBound
@@ -128,38 +127,35 @@ singleton x = x <=..<= x
128whole :: Range x
127whole :: Range x
129whole = NonEmpty Infinite Infinite
128whole = NonEmpty Infinite Infinite
131−(<@.) :: Operator ('NotNull ty) (null ('PGrange ty)) ('Null 'PGbool)
130+(.<@) :: Operator ('NotNull ty) (null ('PGrange ty)) ('Null 'PGbool)
132−(<@.) = unsafeBinaryOp "<@"
131+(.<@) = unsafeBinaryOp "<@"
134(@>.) :: Operator (null ('PGrange ty)) ('NotNull ty) ('Null 'PGbool)
133(@>.) :: Operator (null ('PGrange ty)) ('NotNull ty) ('Null 'PGbool)
135(@>.) = unsafeBinaryOp "<@"
134(@>.) = unsafeBinaryOp "<@"
137−(&&.) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
136+(<<@) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
138−(&&.) = unsafeBinaryOp "&&"
137+(<<@) = unsafeBinaryOp "<<"
140−(<<.) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
139+(@>>) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
141−(<<.) = unsafeBinaryOp "<<"
140+(@>>) = unsafeBinaryOp ">>"
143−(>>.) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
142+(&<) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
144−(>>.) = unsafeBinaryOp ">>"
143+(&<) = unsafeBinaryOp "&<"
146−(&<.) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
145+(&>) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
147−(&<.) = unsafeBinaryOp "&<"
146+(&>) = unsafeBinaryOp "&>"
149−(&>.) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
148+(-|-) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
150−(&>.) = unsafeBinaryOp "&>"
149+(-|-) = unsafeBinaryOp "-|-"
152−(=|=.) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
151+(@+) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) (null ('PGrange ty))
153−(=|=.) = unsafeBinaryOp "&>"
152+(@+) = unsafeBinaryOp "+"
155−(+.) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) (null ('PGrange ty))
154+(@*) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) (null ('PGrange ty))
156−(+.) = unsafeBinaryOp "+"
155+(@*) = unsafeBinaryOp "*"
158−(*.) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) (null ('PGrange ty))
159−(*.) = unsafeBinaryOp "*"
161−(-.) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) (null ('PGrange ty))
157+(@-) :: Operator (null ('PGrange ty)) (null ('PGrange ty)) (null ('PGrange ty))
162−(-.) = unsafeBinaryOp "-"
158+(@-) = unsafeBinaryOp "-"
164lowerBound :: null ('PGrange ty) :--> 'Null ty
160lowerBound :: null ('PGrange ty) :--> 'Null ty
165lowerBound = unsafeFunction "lower"
161lowerBound = unsafeFunction "lower"