Re: build failure for 6.10.1, missing ghcautoconf.h

2008-11-27 Thread Simon Marlow
Conal Elliott wrote: I just tried to build 6.10.1 from the source tarball (http://haskell.org/ghc/dist/6.10.1/ghc-6.10.1-src.tar.bz2) (plus extralibs) on Ubuntu 8.10, building with ghc-6.11. I got the following error: Configuring ghc-bin-6.10.1...

Re: [GHC] #2818: schedule: invalid what_next field

2008-11-27 Thread GHC
#2818: schedule: invalid what_next field ---+ Reporter: kkwweett|Owner: simonmar Type: bug | Status: new Priority: normal |Milestone:

Re: [GHC] #2748: Fundep-laden code compiled and ran fine in 6.8, fails in 6.10

2008-11-27 Thread GHC
#2748: Fundep-laden code compiled and ran fine in 6.8, fails in 6.10 -+-- Reporter: sedillard |Owner: Type: bug | Status: closed Priority:

Re: [GHC] #2742: The - in ViewPatterns binds more weakly than infix data constructors.

2008-11-27 Thread GHC
#2742: The - in ViewPatterns binds more weakly than infix data constructors. -+-- Reporter: guest |Owner: Type: feature request | Status: new

Re: [GHC] #2729: Stuck when compiling XMonad.StackSet in xmonad 0.9 (hackage version)

2008-11-27 Thread GHC
#2729: Stuck when compiling XMonad.StackSet in xmonad 0.9 (hackage version) -+-- Reporter: mnislaih |Owner: Type: bug | Status: new

Re: [GHC] #2736: Add bool to Data.Bool

2008-11-27 Thread GHC
#2736: Add bool to Data.Bool -+-- Reporter: guest |Owner: Type: proposal | Status: new Priority: normal|Milestone:

Re: [GHC] #2736: Add bool to Data.Bool

2008-11-27 Thread GHC
#2736: Add bool to Data.Bool -+-- Reporter: guest |Owner: Type: proposal | Status: new Priority: normal|Milestone: Not GHC

Re: [GHC] #2737: add :tracelocal to ghci debugger to trace only the expressions in a given function

2008-11-27 Thread GHC
#2737: add :tracelocal to ghci debugger to trace only the expressions in a given function -+-- Reporter: phercek |Owner: Type: feature request | Status: new

Re: [GHC] #2739: GHC API crashes on template haskell splices

2008-11-27 Thread GHC
#2739: GHC API crashes on template haskell splices -+-- Reporter: waern |Owner: nominolo Type: bug | Status: assigned Priority: normal|

Re: [GHC] #2750: Bug in Data.Generics

2008-11-27 Thread GHC
#2750: Bug in Data.Generics -+-- Reporter: guest |Owner: jose magalhaes Type: bug | Status: new Priority: normal|Milestone: 6.10.2

Re: [GHC] #2755: Broken link in GHC API documentation

2008-11-27 Thread GHC
#2755: Broken link in GHC API documentation -+-- Reporter: waern |Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #2759: Data.Generics.ConstrRep isn't general enough

2008-11-27 Thread GHC
#2759: Data.Generics.ConstrRep isn't general enough --+- Reporter: guest |Owner: jose magalhaes Type: bug| Status: new Priority: normal

Re: [GHC] #2760: Data.Generics.Basics.mkNoreptype spelled wrong

2008-11-27 Thread GHC
#2760: Data.Generics.Basics.mkNoreptype spelled wrong --+- Reporter: guest |Owner: jose magalhaes Type: bug| Status: new Priority: normal

Re: [GHC] #2763: while installing cabal from darcs, 1.6.0.1 and 1.4.0.2

2008-11-27 Thread GHC
#2763: while installing cabal from darcs, 1.6.0.1 and 1.4.0.2 -+-- Reporter: guest |Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #2765: unsetenv not found under Solaris 8 when building ghc-6.10.1

2008-11-27 Thread GHC
#2765: unsetenv not found under Solaris 8 when building ghc-6.10.1 -+-- Reporter: maeder|Owner: Type: bug | Status: new Priority: normal|Milestone: 6.10.2

Re: [GHC] #2766: Infix type operators are presented with incorrect syntax in ghci

2008-11-27 Thread GHC
#2766: Infix type operators are presented with incorrect syntax in ghci ---+ Reporter: EyalLotem |Owner: igloo Type: merge | Status: new

Re: [GHC] #2584: Pretty printing of types with HsDocTy goes wrong

2008-11-27 Thread GHC
#2584: Pretty printing of types with HsDocTy goes wrong -+-- Reporter: NeilMitchell |Owner: waern Type: bug | Status: assigned Priority: high

Re: [GHC] #2767: Type family bug ?

2008-11-27 Thread GHC
#2767: Type family bug ? +--- Reporter: test |Owner: chak Type: bug | Status: new Priority: normal |

Re: [GHC] #2769: Export mapAccumR from Data.Map, Data.IntMap

2008-11-27 Thread GHC
#2769: Export mapAccumR from Data.Map, Data.IntMap --+- Reporter: Deewiant |Owner: Type: proposal | Status: new Priority: normal

[GHC] #2819: Bad example code in documentation of Control.Exception.catch

2008-11-27 Thread GHC
#2819: Bad example code in documentation of Control.Exception.catch -+-- Reporter: mafo | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #2770: Missing check that C compiler is C99 compatible

2008-11-27 Thread GHC
#2770: Missing check that C compiler is C99 compatible -+-- Reporter: jputcu|Owner: Type: bug | Status: new Priority: normal|Milestone: 6.10.2

Re: [GHC] #2773: Documentation mentions deprecated flags

2008-11-27 Thread GHC
#2773: Documentation mentions deprecated flags -+-- Reporter: guest |Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #2774: sIsReadable and sIsWritable return true after socket is closed.

2008-11-27 Thread GHC
#2774: sIsReadable and sIsWritable return true after socket is closed. --+- Reporter: felixmar |Owner: Type: bug| Status: new Priority:

Re: [GHC] #2775: Type Family panic

2008-11-27 Thread GHC
#2775: Type Family panic -+-- Reporter: camio |Owner: chak Type: bug | Status: new Priority: normal|Milestone: 6.10.2

Re: [GHC] #2776: Document -pgmL (Use cmd as the literate pre-processor)

2008-11-27 Thread GHC
#2776: Document -pgmL (Use cmd as the literate pre-processor) -+-- Reporter: Syzygies |Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #2784: Cannot call connect with a socket that is already bound.

2008-11-27 Thread GHC
#2784: Cannot call connect with a socket that is already bound. --+- Reporter: felixmar |Owner: Type: bug| Status: new Priority: normal

Re: [GHC] #2785: Memory leakage with socket benchmark program

2008-11-27 Thread GHC
#2785: Memory leakage with socket benchmark program -+-- Reporter: felixmar |Owner: Type: run-time performance bug | Status: new Priority: normal

Re: [GHC] #2795: The Network.Socket library does not take into account that the bits in the network are sent as big enddian.

2008-11-27 Thread GHC
#2795: The Network.Socket library does not take into account that the bits in the network are sent as big enddian. ---+ Reporter: guest | Owner:

Re: [GHC] #2797: ghci stack overflows when ghc does not

2008-11-27 Thread GHC
#2797: ghci stack overflows when ghc does not -+-- Reporter: TristanAllwood|Owner: Type: run-time performance bug | Status: new Priority: normal

Re: [GHC] #2798: Enable rec keyword when RecursiveDo is enabled?

2008-11-27 Thread GHC
#2798: Enable rec keyword when RecursiveDo is enabled? -+-- Reporter: nominolo |Owner: Type: task | Status: new Priority: normal

Re: [GHC] #2799: Panic (core lint failure) with GADTs, GHC 6.10.1

2008-11-27 Thread GHC
#2799: Panic (core lint failure) with GADTs, GHC 6.10.1 ---+ Reporter: alexey_r|Owner: igloo Type: merge | Status: new Priority: normal

Re: [GHC] #2800: deprecated OPTIONS flag warnings generated during dep chasing?

2008-11-27 Thread GHC
#2800: deprecated OPTIONS flag warnings generated during dep chasing? -+-- Reporter: duncan|Owner: Type: bug | Status: new Priority:

Re: [GHC] #1074: -fwarn-unused-imports complains about wrong import

2008-11-27 Thread GHC
#1074: -fwarn-unused-imports complains about wrong import -+-- Reporter: guest |Owner: igloo Type: bug | Status: new Priority: high

Re: [GHC] #2802: Download bundle for Linux libedit2 has reference to libedit0 in editline lib

2008-11-27 Thread GHC
#2802: Download bundle for Linux libedit2 has reference to libedit0 in editline lib ---+ Reporter: Ashley Yakeley |Owner: Type: bug | Status: closed Priority: normal

[GHC] #2820: GADT code from RepLib causes panic!

2008-11-27 Thread GHC
#2820: GADT code from RepLib causes panic! -+-- Reporter: ben.kavanagh | Owner: Type: bug | Status: new Priority: normal| Component: Compiler Version: 6.10.1

Re: [GHC] #2803: bring full top level of a module in scope when a breakpoint is hit in the module

2008-11-27 Thread GHC
#2803: bring full top level of a module in scope when a breakpoint is hit in the module -+-- Reporter: phercek |Owner: Type: feature request | Status: new

Re: [GHC] #2805: Test ffi009(ghci) fails on PPC Mac OS X

2008-11-27 Thread GHC
#2805: Test ffi009(ghci) fails on PPC Mac OS X -+-- Reporter: thorkilnaur |Owner: Type: bug | Status: new Priority: normal|Milestone: 6.10 branch

Re: [GHC] #2808: createDirectoryIfMissing should be atomic

2008-11-27 Thread GHC
#2808: createDirectoryIfMissing should be atomic +--- Reporter: EricKow |Owner: simonmar Type: bug | Status: new Priority: normal

Re: [GHC] #2820: GADT code from RepLib causes panic!

2008-11-27 Thread GHC
#2820: GADT code from RepLib causes panic! -+-- Reporter: ben.kavanagh |Owner: Type: bug | Status: closed Priority: normal|Milestone:

Re: [GHC] #2816: ghci type messages mangle unicode

2008-11-27 Thread GHC
#2816: ghci type messages mangle unicode --+- Reporter: rog|Owner: Type: bug| Status: new Priority: normal |Milestone: Component:

Re: [GHC] #2816: ghci type messages mangle unicode

2008-11-27 Thread GHC
#2816: ghci type messages mangle unicode --+- Reporter: rog|Owner: Type: bug| Status: new Priority: normal |Milestone: 6.10.2 Component:

Re: [GHC] #2818: schedule: invalid what_next field

2008-11-27 Thread GHC
#2818: schedule: invalid what_next field ---+ Reporter: kkwweett|Owner: simonmar Type: bug | Status: new Priority: normal |Milestone: 6.10.2

Re: [GHC] #2819: Bad example code in documentation of Control.Exception.catch

2008-11-27 Thread GHC
#2819: Bad example code in documentation of Control.Exception.catch -+-- Reporter: mafo |Owner: Type: bug | Status: new Priority:

Re: [GHC] #2748: Fundep-laden code compiled and ran fine in 6.8, fails in 6.10

2008-11-27 Thread GHC
#2748: Fundep-laden code compiled and ran fine in 6.8, fails in 6.10 -+-- Reporter: sedillard |Owner: Type: bug | Status: closed Priority:

[GHC] #2821: rebindable-syntax arrow docs

2008-11-27 Thread GHC
#2821: rebindable-syntax arrow docs -+-- Reporter: guest | Owner: Type: bug | Status: new Priority: normal| Component:

Re: [GHC] #368: Provide a Java Backend

2008-11-27 Thread GHC
#368: Provide a Java Backend -+-- Reporter: rainbowang|Owner: nobody Type: feature request | Status: assigned Priority: normal|Milestone: _|_

Re: [GHC] #836: rebindable if-then-else syntax

2008-11-27 Thread GHC
#836: rebindable if-then-else syntax -+-- Reporter: nibro |Owner: Type: feature request | Status: new Priority: normal|Milestone:

Re: [GHC] #2806: Require bang-patterns for unlifted bindings

2008-11-27 Thread GHC
#2806: Require bang-patterns for unlifted bindings -+-- Reporter: simonpj |Owner: Type: feature request | Status: new Priority: normal|

Re: [GHC] #2708: Error message should suggest UnboxedTuples language extension

2008-11-27 Thread GHC
#2708: Error message should suggest UnboxedTuples language extension --+- Reporter: tim|Owner: Type: feature request| Status: new Priority:

Re: [GHC] #2648: Report out of date interface files robustly

2008-11-27 Thread GHC
#2648: Report out of date interface files robustly -+-- Reporter: simonpj |Owner: Type: feature request | Status: new Priority: normal|

Re: [GHC] #2600: Bind type variables in RULES

2008-11-27 Thread GHC
#2600: Bind type variables in RULES -+-- Reporter: simonpj |Owner: simonpj Type: feature request | Status: new Priority: normal|Milestone:

Re: [GHC] #2526: warn about missing signatures only for exported functions

2008-11-27 Thread GHC
#2526: warn about missing signatures only for exported functions -+-- Reporter: fergushenderson |Owner: Type: feature request | Status: new Priority: normal

Re: [GHC] #1872: Extensible Records

2008-11-27 Thread GHC
#1872: Extensible Records +--- Reporter: gidyn | Owner: Type: feature request | Status: new Priority: normal | Milestone: 6.10

simple ghci debugger question

2008-11-27 Thread Peter Hercek
Is there a way to redirect output of a ghci debugger command so that I can process it with a (ghci) script before it is displayed? Peter. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Fun with type functions

2008-11-27 Thread Simon Peyton-Jones
Friends GHC has embodied data type families since 6.8, and now type synonym families (aka type functions) in 6.10. However, apart from our initial papers there isn't much published material about how to *use* type families. But that hasn't stopped you: quite a few people are using them

Re: ghc 6.10.1 on freebsd 7 amd64 - ghci problems

2008-11-27 Thread Simon Marlow
Brandon S. Allbery KF8NH wrote: On 2008 Nov 26, at 9:30, Markus Barenhoff wrote: Because the ports seem not to get updated, I tried to compile ghc 6.10.1 under freebsd 7 on amd64 myself. For compiling I first used the ports ghc The tree's not being updated because 64-bit on freebsd doesn't

Re: simple ghci debugger question

2008-11-27 Thread Simon Marlow
Peter Hercek wrote: Is there a way to redirect output of a ghci debugger command so that I can process it with a (ghci) script before it is displayed? Claus had some GHCi macros for doing this sort of thing. Claus? Cheers, Simon ___

Re: simple ghci debugger question

2008-11-27 Thread Claus Reinke
Peter Hercek wrote: Is there a way to redirect output of a ghci debugger command so that I can process it with a (ghci) script before it is displayed? Claus had some GHCi macros for doing this sort of thing. Claus? Sure, recorded here (sections 4/5, but the rest of the page should also be

Re: How to reliably terminate a process

2008-11-27 Thread Simon Marlow
Sterling Clover wrote: Due to the way which runInteractiveCommand works (through spawning a shell), it is impossible to consistently terminate a process launched using it. If the process tries to read from stdin, then it will die properly -- however, last I checked, processes blocking on

Re: ghc 6.10.1 on freebsd 7 amd64 - ghci problems

2008-11-27 Thread Markus Barenhoff
On Thu 27.11 09:49, Simon Marlow wrote: Brandon S. Allbery KF8NH wrote: On 2008 Nov 26, at 9:30, Markus Barenhoff wrote: Because the ports seem not to get updated, I tried to compile ghc 6.10.1 under freebsd 7 on amd64 myself. For compiling I first used the ports ghc The tree's not being

GADT Type Checking GHC 6.10 versus older GHC

2008-11-27 Thread Dominic Steinitz
In my case, we had rigid type signatures all over the place. The wiki document says that the type must be rigid at the point of the match. I guess that's what we were violating. If the code I posted isn't supposed to type check then I would like to report, as user feedback, that GADTs have

RE: [Haskell] Wait for *either* MVar to be set

2008-11-27 Thread Simon Peyton-Jones
| However, preemptive multitasking operating systems offer support for waiting for multiple | MVars, until *either* one of them returns (or timeouts). The standard way to do this is to spawn a thread for each MVar you are waiting for; the thread blocks on the MVar and, when it unblocks it fills

Re: [Haskell] Re: Help : A problem with IO

2008-11-27 Thread abdullah abdul Khadir
Thanks all, I got it working finally. What did i learn ? a) I need to put a do after else for more than one instruction (?) b) All similar type of questions are to be redirected to haskell-beginner and haskell-cafe Points noted. Thank you once again, Abdullah Abdul Khadir On

[Haskell] ANNOUNCE: Haskell Communities and Activities Report (15th ed., November 2008)

2008-11-27 Thread Janis Voigtlaender
On behalf of the many, many contributors, I am pleased to announce that the Haskell Communities and Activities Report (15th edition, November 2008) http://www.haskell.org/communities/ is now available from the Haskell Communities home page in PDF

Re: Suggestion: Syntactic sugar for Maps!

2008-11-27 Thread Don Stewart
dons: circularfunc: I suggest Haskell introduce some syntactic sugar for Maps. Python uses {this: 2, is: 1, a: 1, Map: 1} Clojure also use braces: {:k1 1 :k2 3} where whitespace is comma but commas are also allowed. I find the import Data.Map and then fromList [(hello,1),

Re: Suggestion: Syntactic sugar for Maps!

2008-11-27 Thread Thomas Davie
On 27 Nov 2008, at 19:59, circ ular wrote: I suggest Haskell introduce some syntactic sugar for Maps. Python uses {this: 2, is: 1, a: 1, Map: 1} Clojure also use braces: {:k1 1 :k2 3} where whitespace is comma but commas are also allowed. I find the import Data.Map and then fromList

Re: Suggestion: Syntactic sugar for Maps!

2008-11-27 Thread Wolfgang Jeltsch
Am Donnerstag, 27. November 2008 22:14 schrieb Thomas Davie: On 27 Nov 2008, at 19:59, circ ular wrote: I suggest Haskell introduce some syntactic sugar for Maps. Python uses {this: 2, is: 1, a: 1, Map: 1} Clojure also use braces: {:k1 1 :k2 3} where whitespace is comma but commas are

Re: .. Add simonpj's ImportShadowing proposal

2008-11-27 Thread Isaac Dupree
http://hackage.haskell.org/trac/haskell-prime/wiki/ImportShadowing I agree. It is very tiresome and confusing, because when you say, in your module M, M.nub, M doesn't necessarily even export nub, nor did you import M as M, so it's an odd sort of self-reference. Also that self-reference is

Re: [Haskell-cafe] Compilers

2008-11-27 Thread Brandon S. Allbery KF8NH
On 2008 Nov 26, at 16:58, Matthias Kilian wrote: On Wed, Nov 26, 2008 at 09:35:01PM +, Andrew Coppin wrote: It is a fork of the JHC compiler, which should be easier to look up. There is also Hugs, as you mentioned. In addition, you may want to look at YHC and NHC. Yeah, the

Re: [Haskell-cafe] Compilers

2008-11-27 Thread Don Stewart
allbery: On 2008 Nov 26, at 16:58, Matthias Kilian wrote: On Wed, Nov 26, 2008 at 09:35:01PM +, Andrew Coppin wrote: It is a fork of the JHC compiler, which should be easier to look up. There is also Hugs, as you mentioned. In addition, you may want to look at YHC and NHC. Yeah, the

Re: [Haskell-cafe] workarounds for Codec.Compression.Zlib errors in darcs

2008-11-27 Thread Ketil Malde
Jason Dagit [EMAIL PROTECTED] writes: That is, if you use the optional specification of a header file for each foreign import, and if your Haskell compiler can compile via C, then any checking that types match between Haskell and C can be performed automatically, by the

Re: [Haskell-cafe] Windows vs. Linux x64

2008-11-27 Thread Ketil Malde
Bartosz Wójcik [EMAIL PROTECTED] writes: Win32 Core2Duo 1.8GHz 1GB RAM 17 Mb total memory in use MUT time 56.97s ( 57.02s elapsed) %GC time 0.5% Win32 Core2Duo 2.2GHz 2GB RAM 17 Mb total memory in use MUT time 57.44s ( 57.53s elapsed) %GC time 0.7%

[Haskell-cafe] Need machine for DPH benchmarking

2008-11-27 Thread Dominic Steinitz
we, the DPH team, are at the moment in the very unfortunate situation of not having a proper machine for running our benchmarks on. Could a kind soul maybe give us (i.e., me) access to a quadcore or 2xquadcore x86 Linux or OS X machine? I only need to build ghc on it and run small

Re: [Haskell-cafe] workarounds for Codec.Compression.Zlib errors in darcs

2008-11-27 Thread Duncan Coutts
On Wed, 2008-11-26 at 23:16 +, Malcolm Wallace wrote: ... to work out the C types and then map them to Haskell ones, to check they're the same as the declared types in the .hs files. I'd like to point out that the FFI specification already has such a mechanism. That is, if you use

[Haskell-cafe] Re: Philip Wadler video on Howard-Curry Correspondence ???

2008-11-27 Thread Benjamin L . Russell
Incidentally, Haskell is mentioned several times in the Dr. Dobbs Journal article on the Wadler paper: Dr. Dobb's | Old ideas form the basis of advancements in functional programming | 12 1, 2000 http://www.ddj.com/showArticle.jhtml?articleID=184404384 Specifically: Languages that took more

[Haskell-cafe] Re: Problem getting code from AFP08 parallel tutorial to run in parallel

2008-11-27 Thread Olivier Boudry
On Tue, Nov 25, 2008 at 11:07 PM, Don Stewart [EMAIL PROTECTED] wrote: What does the code look like? It looks like that. Of course it doesn't compute the same number as the initial code, but it starts 3 sparks and I get the expected 100% CPU usage instead of 50%. parSumFibEuler :: Int - Int

Re: [Haskell-cafe] Philip Wadler video on Howard-Curry Correspondence ???

2008-11-27 Thread Josef Svenningsson
2008/11/27 Galchin, Vasili [EMAIL PROTECTED]: Hello, I am reading re-reading Prof. Wadler paper Proofs are Programs: 19th Century Logic and 21st Century Computing but also want to re-read watch his video on same subject. Is it this talk you're after?

Re: [Haskell-cafe] Compilers

2008-11-27 Thread Adrian Neumann
Am 27.11.2008 um 09:23 schrieb Don Stewart: allbery: On 2008 Nov 26, at 16:58, Matthias Kilian wrote: On Wed, Nov 26, 2008 at 09:35:01PM +, Andrew Coppin wrote: It is a fork of the JHC compiler, which should be easier to look up. There is also Hugs, as you mentioned. In addition, you

[Haskell-cafe] haddock question

2008-11-27 Thread allan
Dear all I'm trying to locally build the documentation for the haskell-src-exts package and running into a bit of bother. If I run: cabal haddock I get the error: haddock: parse error in doc string so: cabal haddock -v Doesn't really provide any extra information, it gives me the exact haddock

pbkdf2 on hackage Re: Re[2]: [Haskell-cafe] Password hashing

2008-11-27 Thread Thomas Hartman
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/PBKDF2 Since no one took up my code review request I just did the best I could and uploaded to hackage. There were indeed some mistakes in my initial post, fixed now. (Code review is still wished, though!) Alas, documentation doesn't

Re: [Haskell-cafe] haddock question [solved]

2008-11-27 Thread allan
Ross Paterson wrote: On Thu, Nov 27, 2008 at 11:52:04AM +, allan wrote: I'm trying to locally build the documentation for the haskell-src-exts package and running into a bit of bother. If I run: cabal haddock I get the error: haddock: parse error in doc string The problem is that

[Haskell-cafe] HaskellWiki image upload fails because of - probably - the filesize.

2008-11-27 Thread And1
Hey dear Haskell-Cafe-Readers, I tried several times to upload several images - screenshots that is - to my HaskellWiki/Xmonad site: http://haskell.org/haskellwiki/Image:And1_xmonad.png I always get the error, that the connection to the site/server was reset. I mailed both administrators of

Re: [Haskell-cafe] haddock question

2008-11-27 Thread Ross Paterson
On Thu, Nov 27, 2008 at 11:52:04AM +, allan wrote: I'm trying to locally build the documentation for the haskell-src-exts package and running into a bit of bother. If I run: cabal haddock I get the error: haddock: parse error in doc string The problem is that several of the modules (not

Re: [Haskell-cafe] Need machine for DPH benchmarking

2008-11-27 Thread Daniel Yokomizo
On Thu, Nov 27, 2008 at 5:45 AM, Roman Leshchinskiy [EMAIL PROTECTED] wrote: Hi all, we, the DPH team, are at the moment in the very unfortunate situation of not having a proper machine for running our benchmarks on. Could a kind soul maybe give us (i.e., me) access to a quadcore or

RE: [Haskell-cafe] Proposal for associated type synonyms in Template Haskell

2008-11-27 Thread Simon Peyton-Jones
I've been away. I hope others will reply to this thread too; whatever you decide will end up in TH indefinitely. I know that Roman is interested in this. · You focus just on type families in class declarations (which is indeed where associated types started). But I suggest you also

[Haskell-cafe] Re: catting to cat gets stuck at 135K

2008-11-27 Thread Simon Marlow
Brandon S. Allbery KF8NH wrote: On 2008 Nov 10, at 19:04, Jason Dusek wrote: simple exe bytes args= do (i, o, e, p)- runInteractiveProcess exe args Nothing Nothing hPut i bytes s - hGetContents o hClose i return s Yep, that's your problem.

[Haskell-cafe] Re: [darcs-users] workarounds for Codec.Compression.Zlib errors in darcs

2008-11-27 Thread Eric Kow
On Wed, Nov 26, 2008 at 14:38:33 +, Eric Kow wrote: In principle, the same advice applies for Windows users, with more details hopefully to follow on how the C libz in a GHC-accesible location. Details to follow. As promised, here are the details for installing darcs using our old

[Haskell-cafe] Re: Philip Wadler video on Howard-Curry Correspondence ???

2008-11-27 Thread Benjamin L . Russell
On Wed, 26 Nov 2008 23:48:19 -0600, Galchin, Vasili [EMAIL PROTECTED] wrote: Hello, I am reading re-reading Prof. Wadler paper Proofs are Programs: 19th Century Logic and 21st Century Computing but also want to re-read watch his video on same subject. ??? There is a reference to the

Re: [Haskell-cafe] Fun with type functions

2008-11-27 Thread Magnus Therning
On Thu, Nov 27, 2008 at 9:29 AM, Simon Peyton-Jones [EMAIL PROTECTED] wrote: Friends GHC has embodied data type families since 6.8, and now type synonym families (aka type functions) in 6.10. However, apart from our initial papers there isn't much published material about how to *use* type

[Haskell-cafe] Re: Go Haskell!

2008-11-27 Thread Simon Marlow
Claus Reinke wrote: Do you have an example of a mutable state/ IO bound application, like, hmm, a window manager or a revision control system or a file system...? If you're looking for a challenge, how about this one (there used to be lots of Haskellers into this game, any of you still

Re[2]: [Haskell-cafe] Need machine for DPH benchmarking

2008-11-27 Thread Bulat Ziganshin
Hello Daniel, Thursday, November 27, 2008, 4:43:08 PM, you wrote: Another possibility is using the Amazon EC2 functionality and rent a high-CPU instance (http://aws.amazon.com/ec2/#instance) for as long as these are virtual cores, which isn't appropriate for measuring performance on real 4/8

Re: [Haskell-cafe] Possible issue with Hoogle and Haddock?

2008-11-27 Thread Neil Mitchell
Hi Stephen, I've now worked around this bug in Hoogle - I'm just about to rebuild the website, and hopefully the bug will have disappeared. (Rebuilding the website could take a few days, as I'm currently hunting for the right compiler etc...) Thanks Neil On Fri, Nov 21, 2008 at 8:21 AM,

Re: Re[2]: [Haskell-cafe] Need machine for DPH benchmarking

2008-11-27 Thread Daniel Yokomizo
On Thu, Nov 27, 2008 at 12:25 PM, Bulat Ziganshin [EMAIL PROTECTED] wrote: Hello Daniel, Thursday, November 27, 2008, 4:43:08 PM, you wrote: Another possibility is using the Amazon EC2 functionality and rent a high-CPU instance (http://aws.amazon.com/ec2/#instance) for as long as these are

Re: [Haskell-cafe] Re: Go Haskell!

2008-11-27 Thread Claus Reinke
Do you have an example of a mutable state/ IO bound application, like, hmm, a window manager or a revision control system or a file system...? If you're looking for a challenge, how about this one (there used to be lots of Haskellers into this game, any of you still around?-):

[Haskell-cafe] Re: catting to cat gets stuck at 135K

2008-11-27 Thread Brandon S. Allbery KF8NH
On 2008 Nov 27, at 8:51, Simon Marlow wrote: Brandon S. Allbery KF8NH wrote: On 2008 Nov 10, at 19:04, Jason Dusek wrote: simple exe bytes args= do (i, o, e, p)- runInteractiveProcess exe args Nothing Nothing hPut i bytes s - hGetContents o hClose i

Re: [Haskell-cafe] HaskellWiki image upload fails because of - probably - the filesize.

2008-11-27 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Thu, Nov 27, 2008 at 8:11 AM, And1 wrote: Hey dear Haskell-Cafe-Readers, I tried several times to upload several images - screenshots that is - to my HaskellWiki/Xmonad site: http://haskell.org/haskellwiki/Image:And1_xmonad.png I always

Re: [Haskell-cafe] workarounds for Codec.Compression.Zlib errors in darcs

2008-11-27 Thread Ian Lynagh
On Wed, Nov 26, 2008 at 10:28:21PM +, Duncan Coutts wrote: On Wed, 2008-11-26 at 14:38 +, Eric Kow wrote: Older versions of darcs can to produce gzipped files with broken CRCs. We never noticed this because our homegrown wrapper around the C libz library does not pick up these

Re: [Haskell-cafe] workarounds for Codec.Compression.Zlib errors in darcs

2008-11-27 Thread Luke Palmer
On Thu, Nov 27, 2008 at 10:20 AM, Ian Lynagh [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 10:28:21PM +, Duncan Coutts wrote: On Wed, 2008-11-26 at 14:38 +, Eric Kow wrote: Older versions of darcs can to produce gzipped files with broken CRCs. We never noticed this because our

[Haskell-cafe] followedBy parser in Parsec

2008-11-27 Thread Paul Keir
Hi, Is there a way in Parsec to check what the next token is, and if it is what you're hoping for, leave it there. This is an example of something which doesn't work at all: testpar = try $ do ae - array_element option [] $ try $ satisfy (\c - c /= '(') unexpected

Re: [Haskell-cafe] Re: Go Haskell!

2008-11-27 Thread Claus Reinke
http://computer-go.org/pipermail/computer-go/2008-October/016680.html Interestingly, I did this a while ago. Here's my results: $ ./Bench 1 10 b: 14840, w: 17143 mercy: 67982 elapsed time: 3.42s playouts/sec: 29208 so, nearly 30k/sec random playouts on 9x9. That's using a hack that stops

  1   2   >