Re: [Haskell-cafe] Re: haskell parser for java bytecode?

2005-07-01 Thread Bulat Ziganshin
Hello Kimberley, Thursday, June 30, 2005, 9:43:31 PM, you wrote: library for reading Java bytecode. btw, it may be much simpler to make binding to existing library, especially if it's written in C/C++. there is a plenty of tools for semi-automated generation of such bindings -- Best

[Haskell-cafe] Conversion between MonadPlus instances

2005-07-01 Thread Gracjan Polak
Hi all, A simple question for advanced Haskellers, but I still have some problems bending my mind over it. Example: I have some function, that can return multiple results. Currently I need only the first one, but in the spirit of NotJustMaybe, I try to be as general as possible. If I

[Haskell-cafe] Re: [Haskell] best way to do generic programming?

2005-07-01 Thread Thomas Jäger
Arka, as you already mentioned, you want to have a look at the Scrap your Boilerplate approach. import Data.Generics ... data Expr = Const Int | Var String | Add Expr Expr deriving (Typeable, Data) will derive the necessary Data instance and allow you to define optimizeDeep :: Data a = a -

RE: [Haskell-cafe] Unicode.hs (was: RE: Re[2]: ANNOUNCE: GHC surveyresults)

2005-07-01 Thread Simon Marlow
On 30 June 2005 14:36, Dimitry Golubovsky wrote: It is in CVS now, and I believe will be in 6.4.1 Not planned for 6.4.1, but definitely in 6.6. Cheers, Simon ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Re: Backwards-Compatibility

2005-07-01 Thread Nils Anders Danielsson
On Wed, 29 Jun 2005, Sven Moritz Hallberg [EMAIL PROTECTED] wrote: Am 29. Jun 2005 um 11.03 Uhr schrieb Simon Marlow: On 28 June 2005 14:11, Bulat Ziganshin wrote: [...] how about using Pesco's library versioning scheme? (see http://www.haskell.org/tmrwiki/EternalCompatibilityInTheory)

Re: [Haskell-cafe] Conversion between MonadPlus instances

2005-07-01 Thread Andrew Pimlott
On Fri, Jul 01, 2005 at 12:33:13PM +0200, Gracjan Polak wrote: Example: I have some function, that can return multiple results. Currently I need only the first one, but in the spirit of NotJustMaybe, I try to be as general as possible. If I code it like this: reduction :: (MonadPlus m)

Re: [Haskell-cafe] programatica and haddock

2005-07-01 Thread Thomas Hallgren
Hi, Christian Maeder wrote: I would like to see the advantages of both, programatica's documentation generation and haddock, to be united. (programatica sources don't go through haddock and have few type signatures that haddock could exploit, and haddock comments are useless for programatica.)