projects
/
matthijs
/
master-project
/
cλash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the getType field name from OrdType.
[matthijs/master-project/cλash.git]
/
cλash
/
CLasH
/
Translator
/
TranslatorTypes.hs
diff --git
a/cλash/CLasH/Translator/TranslatorTypes.hs
b/cλash/CLasH/Translator/TranslatorTypes.hs
index 075871ac59e9f347b5268a1dd409cec700d3ba48..47deeef9844d6089871ac3af4277c17513acae29 100644
(file)
--- a/
cλash/CLasH/Translator/TranslatorTypes.hs
+++ b/
cλash/CLasH/Translator/TranslatorTypes.hs
@@
-39,7
+39,7
@@
type Finder =
-----------------------------------------------------------------------------
-- A orderable equivalent of CoreSyn's Type for use as a map key
-----------------------------------------------------------------------------
-- A orderable equivalent of CoreSyn's Type for use as a map key
-newtype OrdType = OrdType
{ getType :: Type.Type }
+newtype OrdType = OrdType
Type.Type
instance Eq OrdType where
(OrdType a) == (OrdType b) = Type.tcEqType a b
instance Ord OrdType where
instance Eq OrdType where
(OrdType a) == (OrdType b) = Type.tcEqType a b
instance Ord OrdType where