Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
dae32485
Commit
dae32485
authored
Feb 20, 2007
by
nx200
Browse files
minor change
parent
0e224c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/esc/sum.hs
View file @
dae32485
...
...
@@ -5,7 +5,7 @@ module Sum where
-- {-# CONTRACT f :: x:{y | y > 0} -> {y | y > 0} -> {r | r == x + 1} #-}
-- {-# CONTRACT f :: any -> {y | y > 0} #-}
-- {-# CONTRACT f :: {y | y > 0} -> any #-}
{-# CONTRACT f ::
x:
{y | y > 0} -> {r | r > 0} #-}
{-# CONTRACT f :: {y | y > 0} -> {r | r > 0} #-}
f
::
Int
->
Int
f
x
=
x
+
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment