Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
afe7da4f
Commit
afe7da4f
authored
Dec 21, 2011
by
dterei
Browse files
simplify code.
parent
394a68a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/InteractiveUI.hs
View file @
afe7da4f
...
...
@@ -1567,8 +1567,9 @@ moduleCmd str
'-'
:
stuff
->
rest
remModulesFromContext
stuff
stuff
->
rest
setContext
stuff
rest
op
stuff
=
(
op
as
bs
,
words
stuff
)
where
(
as
,
bs
)
=
partitionWith
starred
strs
rest
op
stuff
=
(
op
as
bs
,
stuffs
)
where
(
as
,
bs
)
=
partitionWith
starred
stuffs
stuffs
=
words
stuff
sensible
(
'*'
:
m
)
=
looksLikeModuleName
m
sensible
m
=
looksLikeModuleName
m
...
...
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