Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
9ed57d66
Commit
9ed57d66
authored
Apr 25, 2016
by
Simon Peyton Jones
Browse files
Remove unused unifyType_
parent
1e86cab4
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/typecheck/TcUnify.hs
View file @
9ed57d66
...
...
@@ -16,7 +16,7 @@ module TcUnify (
checkConstraints
,
buildImplicationFor
,
-- Various unifications
unifyType_
,
unifyType
,
unifyTheta
,
unifyKind
,
noThing
,
unifyType
,
unifyTheta
,
unifyKind
,
noThing
,
uType
,
unifyExpType
,
--------------------------------
...
...
@@ -976,12 +976,6 @@ The exported functions are all defined as versions of some
non-exported generic functions.
-}
-- | Unify two types, discarding a resultant coercion. Any constraints
-- generated will still need to be solved, however.
unifyType_
::
Outputable
a
=>
Maybe
a
-- ^ If present, has type 'ty1'
->
TcTauType
->
TcTauType
->
TcM
()
unifyType_
thing
ty1
ty2
=
void
$
unifyType
thing
ty1
ty2
unifyType
::
Outputable
a
=>
Maybe
a
-- ^ If present, has type 'ty1'
->
TcTauType
->
TcTauType
->
TcM
TcCoercionN
-- Actual and expected types
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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