Re: proposal for ghc-pkg to use a directory of .conf files

2004-11-06 Thread Sven Panne
Duncan Coutts wrote: [...] The advantage of doing this is that it makes things easier for the package managers. Each individual file can belong to the appropriate package and so instead of having to execute registration/unregistration actions on install/uninstall it's just another file to

Re: getUserEntryForName weirdness

2004-11-06 Thread Peter Simons
Volker Stolz writes: Fixed in CVS I've tried it moments ago: Works correctly here, too, now. Thank you. Peter ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: CVS build failure

2004-11-06 Thread Sven Panne
Peter Simons wrote: Linux x86, I configure my build with the script: | #! /bin/sh -- | | GHC=ghc-6.2.2 | SUBDIRS=alex ghc haddock happy hslibs libraries | | for n in ${SUBDIRS} .; do | echo $n/mk/build.mk XMLDocWays := html | done | | autoreconf -i | ./configure

Re: Implicit parameter constraints not inferred

2004-11-06 Thread Wolfgang Thaller
Benjamin Franksen wrote: main = let ?b = True in use_b --use_b :: (?g::Bool) = IO () use_b = print ?b It isn't: ghc -fimplicit-params says Unbound implicit parameter (?b :: a) arising from use of implicit parameter `?b' at TestBug.hs:4 In the first argument of `print', namely `?b'

Re: Implicit parameter constraints not inferred

2004-11-06 Thread Benjamin Franksen
On Saturday 06 November 2004 17:57, you wrote: Benjamin Franksen wrote: My question: Is this as it should be or is it a bug? The Monomorphism Restriction. Grumble... I almost suspected it. Only the context in which I got the error originally didn't _look_ as if MR would apply, and when I

Terminal does not reset correctly with System.Console.SimpleLineEditor

2004-11-06 Thread Einar Karttunen
Hello It appears that the console is not reset correctly with System.Console.SimpleLineEditor. The terminal does not echo characters until it is reset. The following program demonstrates it: import System.Console.SimpleLineEditor main = initialise getLineEdited prompt = print restore This