projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6179cff
)
GHC.Base.breakpoint
author
Lemmih
<lemmih@gmail.com>
Fri, 7 Apr 2006 12:58:27 +0000
(12:58 +0000)
committer
Lemmih
<lemmih@gmail.com>
Fri, 7 Apr 2006 12:58:27 +0000
(12:58 +0000)
GHC/Base.lhs
patch
|
blob
|
history
diff --git
a/GHC/Base.lhs
b/GHC/Base.lhs
index
8278dbb
..
2cca920
100644
(file)
--- a/
GHC/Base.lhs
+++ b/
GHC/Base.lhs
@@
-711,7
+711,10
@@
lazy x = x
-- defined here in Base.lhs
assert :: Bool -> a -> a
assert pred r = r
-- defined here in Base.lhs
assert :: Bool -> a -> a
assert pred r = r
-
+
+breakpoint :: a -> a
+breakpoint r = r
+
-- | Constant function.
const :: a -> b -> a
const x _ = x
-- | Constant function.
const :: a -> b -> a
const x _ = x