We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e557f2f + 6b60810 commit 8c121ceCopy full SHA for 8c121ce
include/Language/Haskell/Liquid/Equational.hs
@@ -42,7 +42,8 @@ _ `eq` x = x
42
43
infixl 3 ?
44
45
-(?) :: a -> Proof -> a
+{-@ (?) :: forall a b <pa :: a -> Bool, pb :: b -> Bool>. a<pa> -> b<pb> -> a<pa> @-}
46
+(?) :: a -> b -> a
47
x ? _ = x
48
{-# INLINE (?) #-}
49
@@ -51,4 +52,4 @@ x ? _ = x
51
52
-------------------------------------------------------------------------------
53
54
withTheorem :: a -> Proof -> a
-withTheorem z _ = z
55
+withTheorem z _ = z
0 commit comments