[Haskell-cafe] Control.Exceptions and MonadIO

2006-04-21 Thread oleg
Robert Dockins wrote: > One additional (very unfortunate) point is that higher-order IO monad > combinators will not work on your monad, eg, the ones in > Control.Exception. Although that is true in general, for many useful and interesting cases (including ReaderT, the state transformer, and the

[Haskell-cafe] How to get Haddock to generate docs for a directory tree of modules

2006-04-21 Thread Brian Hulley
Hi - I've been looking at the docs for Haddock at http://haskell.org/haddock/haddock-html-0.7/index.html but I can't seem to find any option to recursively traverse a directory generating hyperlinked docs for all modules anywhere in the directory or any sub directory etc. Is there a simple un

Re: [Haskell-cafe] Current situation regarding global IORefs

2006-04-21 Thread Brian Hulley
Brian Hulley wrote: Robert Dockins wrote: Sometimes I also think it would be nice if all the standard lib functions with IO types would instead take arbitrary MonadIO types, so you could avoid having to write down liftIO all the time Thanks for the suggestion - it is certainly a lot better

Re: [Haskell-cafe] Current situation regarding global IORefs

2006-04-21 Thread Brian Hulley
Robert Dockins wrote: Are you compiling with -fglasgow-exts? You're relying on generalized newtype deriving, which is a GHC extension. http://www.haskell.org/ghc/docs/latest/html/users_guide/type- extensions.html#newtype-deriving If that's not it, what's the error you are getting? 'MonadStat

Re: [Haskell-cafe] Current situation regarding global IORefs

2006-04-21 Thread Cale Gibbard
On 21/04/06, Brian Hulley <[EMAIL PROTECTED]> wrote: > Robert Dockins wrote: > > On Apr 21, 2006, at 10:34 AM, Brian Hulley wrote: > >> Robert Dockins wrote: > >>> On Apr 21, 2006, at 9:56 AM, Brian Hulley wrote: > >>> > Hi - > I've run into the global mutable state problem described in h

Re: [Haskell-cafe] Current situation regarding global IORefs

2006-04-21 Thread Robert Dockins
On Apr 21, 2006, at 1:27 PM, Brian Hulley wrote: Robert Dockins wrote: On Apr 21, 2006, at 10:34 AM, Brian Hulley wrote: Robert Dockins wrote: On Apr 21, 2006, at 9:56 AM, Brian Hulley wrote: Hi - I've run into the global mutable state problem described in http:// [snip] There is only

Re: [Haskell-cafe] Current situation regarding global IORefs

2006-04-21 Thread Brian Hulley
Robert Dockins wrote: On Apr 21, 2006, at 10:34 AM, Brian Hulley wrote: Robert Dockins wrote: On Apr 21, 2006, at 9:56 AM, Brian Hulley wrote: Hi - I've run into the global mutable state problem described in http:// [snip] There is only one GUI for the application and only one control in it

Re: [Haskell-cafe] Current situation regarding global IORefs

2006-04-21 Thread Robert Dockins
On Apr 21, 2006, at 10:34 AM, Brian Hulley wrote: Robert Dockins wrote: On Apr 21, 2006, at 9:56 AM, Brian Hulley wrote: Hi - I've run into the global mutable state problem described in http:// www.haskell.org/hawiki/GlobalMutableState Since the page was last edited in March last year, I'm won

Re: [Haskell-cafe] Current situation regarding global IORefs

2006-04-21 Thread Brian Hulley
Robert Dockins wrote: On Apr 21, 2006, at 9:56 AM, Brian Hulley wrote: Hi - I've run into the global mutable state problem described in http:// www.haskell.org/hawiki/GlobalMutableState Since the page was last edited in March last year, I'm wondering if there have been any developments or furth

Re: [Haskell-cafe] Current situation regarding global IORefs

2006-04-21 Thread Robert Dockins
On Apr 21, 2006, at 9:56 AM, Brian Hulley wrote: Hi - I've run into the global mutable state problem described in http:// www.haskell.org/hawiki/GlobalMutableState Since the page was last edited in March last year, I'm wondering if there have been any developments or further thoughts on how

[Haskell-cafe] Current situation regarding global IORefs

2006-04-21 Thread Brian Hulley
Hi - I've run into the global mutable state problem described in http://www.haskell.org/hawiki/GlobalMutableState Since the page was last edited in March last year, I'm wondering if there have been any developments or further thoughts on how to safely create top level IORefs since they are abso

Re: [Haskell-cafe] Google SoC

2006-04-21 Thread Duncan Coutts
On Fri, 2006-04-21 at 13:50 +0200, Pepe Iborra wrote: > http://code.google.com/soc/ > > This is not news. SoC was presented a few days ago, and by now there are a > lot of projects available, yet none(?) Haskell related :( > This is a plea for Haskell FOSS project managers to apply as mentor > o

[Haskell-cafe] Google SoC

2006-04-21 Thread Pepe Iborra
http://code.google.com/soc/ This is not news. SoC was presented a few days ago, and by now there are a lot of projects available, yet none(?) Haskell related :( This is a plea for Haskell FOSS project managers to apply as mentor organizations, so that we students can have a choice. Surely there

Re: [Haskell-cafe] recursive matrix computations

2006-04-21 Thread Brian Boutel
On 19/04/2006, at 10:32 PM, Andrew U. Frank wrote: it appears possible to define matrix operations like LU- decomposition, SVD, inverse etc. in a recursive fashion (see transpose in the prelude). is this possible? has anybody code in haskell which does this (not asking for high performan