Skip to content
Snippets Groups Projects
Commit 8af88215 authored by Juan J. Quintela's avatar Juan J. Quintela
Browse files

[project @ 1997-12-02 18:03:56 by quintela]

HsLit instance of Eq; need by Check
parent 5942db80
No related merge requests found
......@@ -48,8 +48,11 @@ data HsLit
-- also: "overloaded" type; but
-- must resolve to boxed-primitive!
-- (WDP 94/10)
deriving Eq
\end{code}
ToDo: an improved Eq instance JJQC 30-Nov-1997
\begin{code}
negLiteral (HsInt i) = HsInt (-i)
negLiteral (HsFrac f) = HsFrac (-f)
......
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