.de>; ghc-devs <ghc-devs@haskell.org>
Subject: Re: Bringing some observable sharing to GHCi
Not being able to :print an exception would be quite annoying. Do TypeReps need
to be cyclic?
Observable sharing can be done with StableName, but that would be a bit pile of
hassle in the printer
Not being able to :print an exception would be quite annoying. Do TypeReps
need to be cyclic?
Observable sharing can be done with StableName, but that would be a bit
pile of hassle in the printer. Maybe exceptions warrant a special case.
Cheers
Simon
On 29 October 2017 at 20:40, David Feuer
Hi,
Am Sonntag, den 29.10.2017, 16:40 -0400 schrieb David Feuer:
> 1. To be able to display cyclical data in some sensible way.
>
> > x = "hi" : x
> > x `seq` ()
> > :print x
>
> should print some useful representation of x.
the best that I know for this is the hack that calls itself