Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,327
Issues
4,327
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
363
Merge Requests
363
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
9ed57d66
Commit
9ed57d66
authored
Apr 25, 2016
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused unifyType_
parent
1e86cab4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
compiler/typecheck/TcUnify.hs
compiler/typecheck/TcUnify.hs
+1
-7
No files found.
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
Markdown
is supported
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