Skip to content

Commit

Permalink
Merge pull request #1425 from ucsd-progsys/T1420
Browse files Browse the repository at this point in the history
add smallstep notes
  • Loading branch information
ranjitjhala authored Mar 17, 2019
2 parents e557f2f + 6b60810 commit 8c121ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/Language/Haskell/Liquid/Equational.hs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ _ `eq` x = x

infixl 3 ?

(?) :: a -> Proof -> a
{-@ (?) :: forall a b <pa :: a -> Bool, pb :: b -> Bool>. a<pa> -> b<pb> -> a<pa> @-}
(?) :: a -> b -> a
x ? _ = x
{-# INLINE (?) #-}

Expand All @@ -51,4 +52,4 @@ x ? _ = x
-------------------------------------------------------------------------------

withTheorem :: a -> Proof -> a
withTheorem z _ = z
withTheorem z _ = z

0 comments on commit 8c121ce

Please sign in to comment.