Skip to content
Snippets Groups Projects
Commit 4b29a7ee authored by Julian Seward's avatar Julian Seward
Browse files

[project @ 2000-02-03 14:01:07 by sewardj]

Add hugsprimPmFail.
parent fad75acc
No related merge requests found
......@@ -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
{-
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment