[GHC] #1721: Make GHCi print the entire result of an
interactive 'bind' statement
GHC
trac at galois.com
Fri Sep 21 08:59:52 EDT 2007
#1721: Make GHCi print the entire result of an interactive 'bind' statement
--------------------------------+-------------------------------------------
Reporter: simonpj | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
--------------------------------+-------------------------------------------
Comment (by claus):
my personal preference would be to do away with the special case of
printing bind results completely (just as with let, one can do :show
bindings and show any particular variable one might want to have
evaluated). since there is an option, and i can switch it off, it doesn't
bother me too much, but the printing should be all or nothing (and
probably using the new :print, instead of show), not "if there is exactly
one variable..".
there should also be an option that specifies whether or not the result of
IO monads is shown (i recall that it can be confusing if those results are
not shown, but it can be annoying that they are always shown). an option,
on by default, would be nicer than having to resort to things like 'let
void m = m >> return ()'.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1721>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list