[Haskell-cafe] throwDyn typing fun

2005-11-11 Thread Einar Karttunen
Hello It seems that the type of throwDyn and throwDynTo are dangerously close. ThrowDyn works in with any of the arguments of throwDynTo, which can cause evil situations. throwDyn :: Typeable exception = exception - b Which means e.g. throwDyn someThreadId SomeException will work when you

Re: [Haskell-cafe] throwDyn typing fun

2005-11-11 Thread Tomasz Zielonka
On Fri, Nov 11, 2005 at 01:20:05PM +0200, Einar Karttunen wrote: It seems that the type of throwDyn and throwDynTo are dangerously close. ThrowDyn works in with any of the arguments of throwDynTo, which can cause evil situations. throwDyn :: Typeable exception = exception - b Which means

[Haskell-cafe] How to use a wiki to annotate GHC Docs? was Re: [Haskell] Re: Making Haskell more open

2005-11-11 Thread Shae Matijs Erisson
Malcolm Wallace [EMAIL PROTECTED] writes: ... And avoid getting screwed up by malicious folk? ... but I believe there are a number of people who regularly review all the Recent Changes and undertake to 'undo' any malicious/inaccurate modifications. I suspect this would

[Haskell-cafe] Re: Making Haskell more open

2005-11-11 Thread Nils Anders Danielsson
On Fri, 11 Nov 2005, Tomasz Zielonka [EMAIL PROTECTED] wrote: [Moved to cafe.] How about an integrated newsgroup+mailinglist+forum. If we had a two-way newsgroup+mailinglist integration, people could use it also as a forum, for example through gmail.google.com. But I don't use fora, so I

[Haskell-cafe] `typeof' is not a (visible) method of class `Typeable' ?

2005-11-11 Thread WANG Meng
Hi All, While I was trying to declare Language.Haskell.TH.Exp as an instance of Typeable, ghci 6.4 yields this error. It does not allow me to define an instance of typeof. Does anybody know what should be the right way of doing this? Thanks. -W-M- @ @ | \_/

Re: [Haskell-cafe] `typeof' is not a (visible) method of class `Typeable' ?

2005-11-11 Thread Benjamin Franksen
On Friday 11 November 2005 18:22, WANG Meng wrote: Hi All, While I was trying to declare Language.Haskell.TH.Exp as an instance of Typeable, ghci 6.4 yields this error. It does not allow me to define an instance of typeof. Does anybody know what should be the right way of doing this? Thanks.