[Haskell-cafe] EclipseFP (Haskell IDE) 0.9.1 released

2006-01-30 Thread Thiago Arrais
EclipseFP 0.9.1 has been released since last Friday. It is an open-source development environment for Haskell code. EclipseFP integrates GHC with an Haskell-aware code editor and also supports quick file browsing through an outline view, automatic building/compiling and quick one-button code

RE: [Haskell-cafe] arr f

2006-01-30 Thread Sven Biedermann
Hello Chris, Many thanks for your input. arr _ = error ... Doesn't work, because it will not be possible to use arrow notation. Today I learned that the function type is abstract and so has no constructor I can pattern match against. I don't know, why. Does something break, if Haskell

Re: [Haskell-cafe] arr f

2006-01-30 Thread Ross Paterson
On Mon, Jan 30, 2006 at 06:27:12PM +0100, Sven Biedermann wrote: Since I want to use the arrow notation, I had a close look at the following description, taken from http://www.haskell.org/ghc/docs/latest/html/users_guide/arrow-notation.html [example in 7.7.1. do-notation for commands] The

[Haskell-cafe] Haskell to call Microsoft COM (Dispatch)

2006-01-30 Thread Gracjan Polak
Hi all,Is there any library to make Haskell call Microsoft COM functions using Dispatch? E.g I don't need the full COM binary functionality, scripting is enough. Google didn't seem to find anything interesting... beside rolling my own using FFI :) Thanks in advance!-- Gracjan

Re: [Haskell-cafe] Haskell to call Microsoft COM (Dispatch)

2006-01-30 Thread Paul Moore
On 1/30/06, Gracjan Polak [EMAIL PROTECTED] wrote: Is there any library to make Haskell call Microsoft COM functions using Dispatch? E.g I don't need the full COM binary functionality, scripting is enough. Google didn't seem to find anything interesting... beside rolling my own using FFI :)

[Haskell-cafe] Correct usage of MonadError, ErrorT?

2006-01-30 Thread Daniel
Hi, I've got some functions in MonadError with different Error types. I would like to map errors of one Error type onto the other Error type. It seems that the only facility for doing this is mapErrorT, but that seems to force me to work in ErrorT rather than any old instance of MonadError.

Re: [Haskell-cafe] Correct usage of MonadError, ErrorT?

2006-01-30 Thread Andrew Pimlott
On Tue, Jan 31, 2006 at 03:00:41PM +1300, Daniel wrote: I've got some functions in MonadError with different Error types. I would like to map errors of one Error type onto the other Error type. It seems that the only facility for doing this is mapErrorT, but that seems to force me to work

Re: [Haskell-cafe] Correct usage of MonadError, ErrorT?

2006-01-30 Thread Daniel McAllansmith
On Tuesday 31 January 2006 16:32, Andrew Pimlott wrote: On Tue, Jan 31, 2006 at 03:00:41PM +1300, Daniel wrote: I've got some functions in MonadError with different Error types. I would like to map errors of one Error type onto the other Error type. It seems that the only facility for