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
4b29a7ee
Commit
4b29a7ee
authored
Feb 03, 2000
by
sewardj
Browse files
[project @ 2000-02-03 14:01:07 by sewardj]
Add hugsprimPmFail.
parent
fad75acc
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/std/PrelHugs.lhs
View file @
4b29a7ee
...
...
@@ -18,7 +18,8 @@ module PrelHugs (
fromDouble,
hugsprimMkIO,
hugsprimCreateAdjThunk,
hugsprimUnpackString
hugsprimUnpackString,
hugsprimPmFail
)
where
import PrelGHC
...
...
@@ -82,6 +83,10 @@ hugsprimPmLe x y = x <= y
hugsprimUnpackString :: Addr -> String
hugsprimUnpackString a = unpackCString a
-- ToDo: make the message more informative.
hugsprimPmFail :: a
hugsprimPmFail = error "Pattern Match Failure"
-- used when Hugs invokes top level function
{-
...
...
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