Sorry for the late reply. As it turns out, my original problem was just a
typo on my part; I was passing in the wrong name to the element factory.
However, this does lead me to two other questions:
1. Are there any good resources for demonstrating how to debug Haskell
programs? The laziness and lack of imperative debug statements makes it
difficult to track down runtime errors.
2. How and where is TagList implemented? There exist methods for
manipulating and reading them in the
but it doesn't appear to be defined anywhere, and any attempt to reference
TagList in my code is met with a compiler error. Also, there doesn't appear
to be any implementation of g_tag_list_foreach, nor any other method for
discovering tags other than querying with one of the StandardTag values and
hoping that it doesn't return Nothing.
On Fri, Nov 23, 2012 at 1:17 PM, Damien Radtke <damienradtke@...:
> I'm currently out of town for Thanksgiving, but I'll provide some example
> code when I get back home in a few days.
> On Mon, Nov 19, 2012 at 1:48 PM, <wagnerdm@...> wrote:
>> Quoting Damien Radtke <damienradtke@...>:
>> > I've been trying to port
>> > this<
>> > over to Haskell, but I keep getting a random "Maybe.fromJust:
>> > Nothing" error when I try to set up the signal handler. As far as I can
>> > tell, it's coming from the Glib.on method, so I have no clue how to go
>> > about fixing it.
>> > Any thoughts?
>> I see you haven't got any replies yet, which probably means nobody's
>> seen this problem before and recognizes it off the bat. So, it would
>> help to have a minimal Haskell snippet that we can use to reproduce
>> your error; can you provide one (along with whatever extra media files
>> we need to run it on)?
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> Gtk2hs-users mailing list