Question

I recently tried one simple example on plotting using Haskell wrapper for Gnuplot using this example on ubuntu. It works fine, but after I close the graph window and type anything in GHCI terminal, it doesn't show it being typed. On entering text and pressing return it executes it in a normal way.

I tried with unloading all modules but to no avail. Has someone else faced it earlier ?

GHC : 7.6.3 Linux : Ubuntu 12

So, is it a bug?

Was it helpful?

Solution

Yes, it is an old bug (2 years), http://trac.haskell.org/gnuplot/ticket/1 (and it's one of the reasons I stopped using Gnuplot with Haskell – the other being the apparent inability to programatically close Gnuplot windows).

As noted in the issue tracker, you can make ghci show what you write again by typing :reload (or, equivalently, :r), but then you lose all your bindings and stuff so it's not a good workaround.

Edit: By the way, I'm on OS X, probably 10.7/10.8 something when I encountered this bug.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top