[Haskell-cafe] Displaying # of reductions after each computation
in ghci?
Don Stewart
dons at galois.com
Tue Jan 8 17:13:09 EST 2008
stefanor:
> On Tue, Jan 08, 2008 at 09:48:37PM +0000, Fernando Rodriguez wrote:
> > Is there a way to configure ghci to display the number of reuctions after
> > each compution (as in winhugs)?
>
> No.
Kind of, since you probably just want stats, not some notion of
reductions:
Prelude> :set +s
Prelude> last [1..1000000]
1000000
(0.05 secs, 87390328 bytes)
-- Don
More information about the Haskell-Cafe
mailing list