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
obsidiansystems
GHC
Commits
2e8a6c42
Commit
2e8a6c42
authored
Jun 18, 2000
by
panne
Browse files
[project @ 2000-06-18 21:12:31 by panne]
Added Eq and Ord instances for ArrayException
parent
6771cedb
Changes
1
Show whitespace changes
Inline
Side-by-side
ghc/lib/std/PrelException.lhs
View file @
2e8a6c42
% -----------------------------------------------------------------------------
% $Id: PrelException.lhs,v 1.2
0
2000/06/
09 13:49:35 simonmar
Exp $
% $Id: PrelException.lhs,v 1.2
1
2000/06/
18 21:12:31 panne
Exp $
%
% (c) The GRAP/AQUA Project, Glasgow University, 1998
%
...
...
@@ -64,6 +64,7 @@ data AsyncException
data ArrayException
= IndexOutOfBounds String -- out-of-range array access
| UndefinedElement String -- evaluating an undefined element
deriving (Eq, Ord)
stackOverflow, heapOverflow :: Exception -- for the RTS
stackOverflow = AsyncException StackOverflow
...
...
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