Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
d8cb9db5
Commit
d8cb9db5
authored
Oct 19, 2010
by
simonpj@microsoft.com
Browse files
Layout and tiny refactoring only
parent
a40f2735
Changes
1
Show whitespace changes
Inline
Side-by-side
compiler/typecheck/TcInteract.lhs
View file @
d8cb9db5
...
...
@@ -905,9 +905,8 @@ interactNext it inert
; return $ SR { sr_inerts = inerts_new
, sr_new_work = sr_new_work it `unionWorkLists` ir_new_work ir
, sr_stop = ir_stop ir } }
| otherwise = return $ itrAddInert inert it
where itrAddInert :: AtomicInert -> StageResult -> StageResult
itrAddInert inert itr = itr { sr_inerts = (sr_inerts itr) `updInertSet` inert }
| otherwise
= return $ it { sr_inerts = (sr_inerts it) `updInertSet` inert }
-- Do a single interaction of two constraints.
interactWithInert :: FDImprovements -> AtomicInert -> WorkItem -> TcS InteractResult
...
...
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