projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a321760
)
breakpointCond
author
Lemmih
<lemmih@gmail.com>
Sat, 8 Jul 2006 05:55:28 +0000
(
05:55
+0000)
committer
Lemmih
<lemmih@gmail.com>
Sat, 8 Jul 2006 05:55:28 +0000
(
05:55
+0000)
GHC/Base.lhs
patch
|
blob
|
history
diff --git
a/GHC/Base.lhs
b/GHC/Base.lhs
index
a181cf7
..
cf3c5a3
100644
(file)
--- a/
GHC/Base.lhs
+++ b/
GHC/Base.lhs
@@
-730,6
+730,9
@@
assert pred r = r
breakpoint :: a -> a
breakpoint r = r
+breakpointCond :: Bool -> a -> a
+breakpointCond _ r = r
+
-- | Constant function.
const :: a -> b -> a
const x _ = x