[GHC] #9748: Disambiguate IO actions in GHCi with :set +t
GHC
ghc-devs at haskell.org
Fri Oct 31 09:13:45 UTC 2014
#9748: Disambiguate IO actions in GHCi with :set +t
-------------------------------------+-------------------------------------
Reporter: | Owner:
Iceland_jack | Status: new
Type: feature | Milestone:
request | Version: 7.8.2
Priority: low | Keywords:
Component: GHCi | Architecture: Unknown/Multiple
Resolution: | Difficulty: Easy (less than 1
Operating System: | hour)
Unknown/Multiple | Blocked By:
Type of failure: | Related Tickets:
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
Moreover we ''really'' don't want to repeat the expression being
evaluated, which might be large! Way too noisy.
I quite like Herert's suggestion. Or
{{{
Prelude> return 'a'
Running IO action...
'a'
it :: Char
}}}
or
{{{
Prelude> return 'a'
it :: Char -- After running the IO action
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9748#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list