GetOpt is broken

2005-04-12 Thread Volker Wysk
Hello. In GHC 6.4, GetOpt no longer recognizes the -- argument, which terminates interpretation of arguments beginning with - as switches: import System.Console.GetOpt import System main = do args - getArgs let (_,_,f) = getOpt Permute [Option a [] (OptArg (const ()) xxx) ]

[ ghc-Bugs-1178851 ] double-panic with GADTs

2005-04-12 Thread SourceForge.net
Bugs item #1178851, was opened at 2005-04-07 13:39 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1178851group_id=8032 Category: Compiler (Type checker) Group: 6.4 Status: Open Resolution: None

[ ghc-Bugs-1178851 ] double-panic with GADTs

2005-04-12 Thread SourceForge.net
Bugs item #1178851, was opened at 2005-04-07 13:39 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1178851group_id=8032 Category: Compiler (Type checker) Group: 6.4 Status: Open Resolution: None

[ ghc-Bugs-1162969 ] Over-zealous dup-import warning

2005-04-12 Thread SourceForge.net
Bugs item #1162969, was opened at 2005-03-14 23:56 Message generated for change (Comment added) made by fergus You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1162969group_id=8032 Category: Compiler Group: None Status: Open Resolution: None Priority: 4

Re: GetOpt is broken

2005-04-12 Thread Wolfgang Thaller
Volker Wysk wrote: Hello. In GHC 6.4, GetOpt no longer recognizes the -- argument, which terminates interpretation of arguments beginning with - as switches: Thanks for the report. This bug is already fixed in CVS. Cheers, Wolfgang ___

RE: installing ghc without already having ghc

2005-04-12 Thread Simon Marlow
On 11 April 2005 16:44, Jessica Brennan wrote: cd H/ghc make boot make in section 10.2.1 of the build guide. Actually I just double checked and I don't get those lines of the error when doing cross-compiling. Sorry grabbed the first set of errors I saw. It is the same minus those test

[Haskell] Formal Methods 2005: Call for Participation

2005-04-12 Thread events-admin
(With apologies for multiple copies) Formal Methods 2005 (FM'05) 18-22 July 2005 Newcastle upon Tyne, UK First Call for Participation www.csr.ncl.ac.uk/fm05 It is our pleasure to invite you to attend FM'05, the leading international conference for researchers and practitioners in formal

[Haskell] GTTSE Summer School: Early registration deadline April 15

2005-04-12 Thread Joost Visser
This is a reminder that the deadline for early registration for the Summer School on Generative and Transformational Techniques in Software Engineering (GTTSE 2005), to be held in Braga, Portugal, from July 4 to 8, 2005, is: *** Early Registration Deadline: April 15, 2005 *** Online

[Haskell] Post-doc position in Martin Odersky's group, EPFL, Switzerland

2005-04-12 Thread Martin Odersky
EPFL Lausanne Programming Methods Group Prof. Martin Odersky We have an open position for a postdoctoral researcher in the Programming Methods Group at EPFL. The research of our group is centered on Scala, a new

RE: [Haskell] pretty printing Haskell code with auto parens?

2005-04-12 Thread Conal Elliott
No reply yet. Alternatively, does anyone happen to have a HsExp-HsExp (for Language.Haskell.Syntax) pass that inserts disambiguating parentheses as needed, to be applied just before pretty-printing? Cheers, - Conal -Original Message- From: [EMAIL PROTECTED]

Re: [Haskell] pretty printing Haskell code with auto parens?

2005-04-12 Thread John Meacham
On Tue, Apr 12, 2005 at 06:33:13PM -0700, Conal Elliott wrote: No reply yet. Alternatively, does anyone happen to have a HsExp-HsExp (for Language.Haskell.Syntax) pass that inserts disambiguating parentheses as needed, to be applied just before pretty-printing? There is one included in

[Haskell] Control.Monad.Writer as Python generator

2005-04-12 Thread ChrisK
Hi, I was thinking to myself: What in Haskell would give me a yield command like a Python generator? And the answer was tell in Control.Monad.Writer -- and I wrote some simple examples (see below). Most Python code using yield would be translated to something much more idiomatic in Haskell

Re: [Haskell-cafe] Installing and running QuickCheck

2005-04-12 Thread Daniel Fischer
Hm, no instance Arbitrary Char is provided in the QuickCheck modules that came with my hugs or ghc. Probably the author just forgot to import Data.Char. Try inserting that in QuickCheck.hs. Hope that works, Daniel Am Samstag, 9. April 2005 21:10 schrieb Adam Wyner: Hi, I'd like to use

[Haskell-cafe] predicates in XML toolboxes

2005-04-12 Thread Henning Thielemann
The XML toolboxes HaXml, HXML and the XML toolbox uses one function type (called filter) for different purposes. The functions of types predicates a - Bool selectors, transformatorsa - a list-valued functionsa - [a] are all implemented with the one type (a - [a]).

Re: [Haskell-cafe] predicates in XML toolboxes

2005-04-12 Thread Malcolm Wallace
Henning Thielemann [EMAIL PROTECTED] writes: predicates a - Bool selectors, transformatorsa - a list-valued functionsa - [a] What about providing combinators for the most common cases and provide lifting functions for the uncommon cases, such as