8 Jun
2016
8 Jun
'16
4:47 a.m.
Alex, See "a hammer for many nails: capturing ghci command output" in the mail message "getting more out of ghci" sent by Claus Reinke on Sept 25th, 2007 to the Haskell Cafe list: https://mail.haskell.org/pipermail/haskell-cafe/2007-September/032260.html On Tue, Jun 7, 2016 at 10:02 AM, Alex <agrambot@gmail.com> wrote:
I would like to be able to bind the output of GHCi's :show to a variable, but I don't see a nice way to do so. Is it possible to do this directly in GHCi?
My specific use for this is appending to the current prompt.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe