[GHC] #5851: RTS Crashes on Exit with double free

2012-02-07 Thread GHC
#5851: RTS Crashes on Exit with double free ---+ Reporter: argiopeweb | Owner: Type: bug| Status: new Priority: normal |

Re: [GHC] #5851: RTS Crashes on Exit with double free

2012-02-07 Thread GHC
#5851: RTS Crashes on Exit with double free ---+ Reporter: argiopeweb | Owner: Type: bug| Status: new Priority: normal |

Re: [GHC] #5818: gcd and fizzled reversed in event SparkCounters

2012-02-07 Thread GHC
#5818: gcd and fizzled reversed in event SparkCounters -+-- Reporter: MikolajKonarski | Owner: duncan Type: bug | Status: new

Re: [GHC] #5818: gcd and fizzled reversed in event SparkCounters

2012-02-07 Thread GHC
#5818: gcd and fizzled reversed in event SparkCounters --+- Reporter: MikolajKonarski | Owner: duncan Type: bug | Status: closed

[GHC] #5852: methods and associated types treated differently wrt. qualification

2012-02-07 Thread GHC
#5852: methods and associated types treated differently wrt. qualification --+- Reporter: jeltsch | Owner: Type: feature request | Status: new

Re: [GHC] #5849: Buliding on arm broke in 7.4.1

2012-02-07 Thread GHC
#5849: Buliding on arm broke in 7.4.1 ---+ Reporter: nomeata | Owner: Type: bug | Status: new Priority: high| Milestone:

Re: [GHC] #5844: Panic on generating Core code

2012-02-07 Thread GHC
#5844: Panic on generating Core code -+-- Reporter: JamesFisher | Owner: Type: bug | Status: new Priority: normal| Milestone:

Re: [GHC] #5850: Greater customization of GHCi prompt

2012-02-07 Thread GHC
#5850: Greater customization of GHCi prompt -+-- Reporter: JamesFisher | Owner: Type: feature request | Status: new Priority: normal|

Re: [GHC] #5851: RTS Crashes on Exit with double free

2012-02-07 Thread GHC
#5851: RTS Crashes on Exit with double free ---+ Reporter: argiopeweb | Owner: simonmar Type: bug | Status: new Priority: high

Re: [GHC] #5849: Buliding on arm broke in 7.4.1

2012-02-07 Thread GHC
#5849: Buliding on arm broke in 7.4.1 ---+ Reporter: nomeata | Owner: Type: bug | Status: new Priority: high| Milestone:

Re: [GHC] #5851: RTS Crashes on Exit with double free

2012-02-07 Thread GHC
#5851: RTS Crashes on Exit with double free ---+ Reporter: argiopeweb | Owner: simonmar Type: bug | Status: merge Priority: high

Re: [GHC] #5813: Offer a compiler warning for failable pattern matches

2012-02-07 Thread GHC
#5813: Offer a compiler warning for failable pattern matches -+-- Reporter: snoyberg | Owner: Type: feature request | Status: new Priority: normal

Re: [GHC] #5841: seg fault in ghci but not ghc when using chart-gtk code

2012-02-07 Thread GHC
#5841: seg fault in ghci but not ghc when using chart-gtk code ---+ Reporter: carter | Owner: Type: bug | Status: new Priority: normal |

Re: [GHC] #5816: static linking silently fails in ghc

2012-02-07 Thread GHC
#5816: static linking silently fails in ghc ---+ Reporter: carter | Owner: igloo Type: bug | Status: infoneeded Priority: normal | Milestone: 7.6.1

Re: [GHC] #5843: hGetBufSome blocks when all available input is buffered (on Windows only)

2012-02-07 Thread GHC
#5843: hGetBufSome blocks when all available input is buffered (on Windows only) ---+ Reporter: joeyadams | Owner: simonmar Type: bug | Status: new

[GHC] #5853: Out-of-memory crash when using RULES and type families

2012-02-07 Thread GHC
#5853: Out-of-memory crash when using RULES and type families +--- Reporter: porges | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #5813: Offer a compiler warning for failable pattern matches

2012-02-07 Thread GHC
#5813: Offer a compiler warning for failable pattern matches -+-- Reporter: snoyberg | Owner: Type: feature request | Status: new Priority: normal

Re: [GHC] #5820: defining instance in GHCi leads to duplicated instances

2012-02-07 Thread GHC
#5820: defining instance in GHCi leads to duplicated instances -+-- Reporter: guest | Owner: Type: bug | Status: new Priority: high

Re: [GHC] #2301: Proper handling of SIGINT/SIGQUIT

2012-02-07 Thread GHC
#2301: Proper handling of SIGINT/SIGQUIT --+- Reporter: duncan | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #5813: Offer a compiler warning for failable pattern matches

2012-02-07 Thread GHC
#5813: Offer a compiler warning for failable pattern matches -+-- Reporter: snoyberg | Owner: Type: feature request | Status: new Priority: normal

Re: [GHC] #5838: integer overflow in rts/RtsUtils:heapOverflow()

2012-02-07 Thread GHC
#5838: integer overflow in rts/RtsUtils:heapOverflow() ---+ Reporter: hvr | Owner: simonmar Type: bug | Status: merge Priority:

Re: [GHC] #5836: GHCi silently fails to import non-existing modules

2012-02-07 Thread GHC
#5836: GHCi silently fails to import non-existing modules -+-- Reporter: hvr | Owner: simonmar Type: bug | Status: merge Priority: high

Re: [GHC] #5836: GHCi silently fails to import non-existing modules

2012-02-07 Thread GHC
#5836: GHCi silently fails to import non-existing modules -+-- Reporter: hvr | Owner: simonmar Type: bug | Status: merge Priority: high

Re: [GHC] #5757: zero unexpected failures on all tier 1 platforms

2012-02-07 Thread GHC
#5757: zero unexpected failures on all tier 1 platforms -+-- Reporter: simonmar | Owner: Type: task | Status: new Priority: highest

Re: [GHC] #5849: Buliding on arm broke in 7.4.1

2012-02-07 Thread GHC
#5849: Buliding on arm broke in 7.4.1 ---+ Reporter: nomeata | Owner: Type: bug | Status: new Priority: high| Milestone:

[GHC] #5854: TH: INLINABLE pragma support (patch)

2012-02-07 Thread GHC
#5854: TH: INLINABLE pragma support (patch) +--- Reporter: mikhail.vorozhtsov | Owner: Type: feature request | Status: new Priority: normal |

Re: [GHC] #5844: Panic on generating Core code

2012-02-07 Thread GHC
#5844: Panic on generating Core code -+-- Reporter: JamesFisher | Owner: Type: bug | Status: new Priority: normal| Milestone:

Re: [GHC] #5849: Buliding on arm broke in 7.4.1

2012-02-07 Thread GHC
#5849: Buliding on arm broke in 7.4.1 ---+ Reporter: nomeata | Owner: Type: bug | Status: new Priority: high| Milestone:

Re: [GHC] #5852: methods and associated types treated differently wrt. qualification

2012-02-07 Thread GHC
#5852: methods and associated types treated differently wrt. qualification +--- Reporter: jeltsch |Owner: Type: feature request | Status:

Re: [GHC] #2301: Proper handling of SIGINT/SIGQUIT

2012-02-07 Thread GHC
#2301: Proper handling of SIGINT/SIGQUIT --+- Reporter: duncan | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #5793: make nofib not suck

2012-02-07 Thread GHC
#5793: make nofib not suck --+- Reporter: dterei | Owner: dterei Type: task | Status: new Priority: normal | Milestone:

Re: [GHC] #5766: Asynchronous exception bugs in readProcess and readProcessWithExitCode

2012-02-07 Thread GHC
#5766: Asynchronous exception bugs in readProcess and readProcessWithExitCode --+- Reporter: basvandijk | Owner: Type: bug| Status: patch

Re: [GHC] #5849: Buliding on arm broke in 7.4.1

2012-02-07 Thread GHC
#5849: Buliding on arm broke in 7.4.1 ---+ Reporter: nomeata | Owner: Type: bug | Status: new Priority: high| Milestone:

Re: [GHC] #5824: ARM StgRun register clobber list is broken

2012-02-07 Thread GHC
#5824: ARM StgRun register clobber list is broken ---+ Reporter: bgamari | Owner: simonmar Type: bug | Status: patch Priority: high|

Re: [GHC] #5849: Buliding on arm broke in 7.4.1

2012-02-07 Thread GHC
#5849: Buliding on arm broke in 7.4.1 ---+ Reporter: nomeata | Owner: Type: bug | Status: new Priority: high| Milestone:

Re: [GHC] #5824: ARM StgRun register clobber list is broken

2012-02-07 Thread GHC
#5824: ARM StgRun register clobber list is broken ---+ Reporter: bgamari | Owner: simonmar Type: bug | Status: patch Priority: high|

Re: [GHC] #5824: ARM StgRun register clobber list is broken

2012-02-07 Thread GHC
#5824: ARM StgRun register clobber list is broken ---+ Reporter: bgamari | Owner: simonmar Type: bug | Status: patch Priority: high|

Re: [GHC] #5849: Buliding on arm broke in 7.4.1

2012-02-07 Thread GHC
#5849: Buliding on arm broke in 7.4.1 ---+ Reporter: nomeata | Owner: Type: bug | Status: new Priority: high| Milestone:

Re: [GHC] #5824: ARM StgRun register clobber list is broken

2012-02-07 Thread GHC
#5824: ARM StgRun register clobber list is broken ---+ Reporter: bgamari | Owner: simonmar Type: bug | Status: patch Priority: high|

Re: [GHC] #5824: ARM StgRun register clobber list is broken

2012-02-07 Thread GHC
#5824: ARM StgRun register clobber list is broken ---+ Reporter: bgamari | Owner: simonmar Type: bug | Status: patch Priority: high|

Re: [GHC] #5849: Buliding on arm broke in 7.4.1

2012-02-07 Thread GHC
#5849: Buliding on arm broke in 7.4.1 ---+ Reporter: nomeata | Owner: Type: bug | Status: new Priority: high| Milestone:

[GHC] #5855: Computation Hangs Using PolyKinds

2012-02-07 Thread GHC
#5855: Computation Hangs Using PolyKinds ---+ Reporter: paf31 | Owner: Type: bug| Status: new Priority: normal | Component: Compiler

Re: [GHC] #5844: Panic on generating Core code

2012-02-07 Thread GHC
#5844: Panic on generating Core code -+-- Reporter: JamesFisher | Owner: Type: bug | Status: new Priority: normal| Milestone:

Re: [GHC] #5844: Panic on generating Core code

2012-02-07 Thread GHC
#5844: Panic on generating Core code -+-- Reporter: JamesFisher | Owner: Type: bug | Status: new Priority: normal| Milestone:

Re: [GHC] #5808: nofib/spectral/hartel/transform is crashing with -fllvm

2012-02-07 Thread GHC
#5808: nofib/spectral/hartel/transform is crashing with -fllvm +--- Reporter: simonmar | Owner: dterei Type: bug | Status: new

Re: [GHC] #5844: Panic on generating Core code

2012-02-07 Thread GHC
#5844: Panic on generating Core code -+-- Reporter: JamesFisher | Owner: Type: bug | Status: new Priority: normal| Milestone:

Re: [GHC] #5844: Panic on generating Core code

2012-02-07 Thread GHC
#5844: Panic on generating Core code -+-- Reporter: JamesFisher | Owner: Type: bug | Status: new Priority: normal| Milestone:

[GHC] #5856: numrun012 test fails on i686 works on x86_64

2012-02-07 Thread GHC
#5856: numrun012 test fails on i686 works on x86_64 --+- Reporter: td123 | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #5856: numrun012 test fails on i686 works on x86_64

2012-02-07 Thread GHC
#5856: numrun012 test fails on i686 works on x86_64 --+- Reporter: td123 | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #4385: Type-level natural numbers

2012-02-07 Thread GHC
#4385: Type-level natural numbers +--- Reporter: diatchki | Owner: diatchki Type: feature request | Status: new Priority: normal |

Re: [GHC] #5844: Panic on generating Core code

2012-02-07 Thread GHC
#5844: Panic on generating Core code -+-- Reporter: JamesFisher | Owner: Type: bug | Status: new Priority: normal| Milestone:

Re: ghc -C in 7.4.1

2012-02-07 Thread Simon Marlow
On 05/02/2012 18:06, Brandon Allbery wrote: On Sun, Feb 5, 2012 at 12:11, Serge D. Mechveliani mech...@botik.ru mailto:mech...@botik.ru wrote: I needed to look into the C code made by ghc-7.4.1 GHC doesn't write C source any more. Warning: The -fvia-C flag does nothing; it

auto-orphans?

2012-02-07 Thread Christian Maeder
Hi, in http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/options-sanity.html I've found no description for -fwarn-auto-orphans Cheers Christian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

[CFARM-REQUEST] GHC build bots on CompileFarm?

2012-02-07 Thread Joachim Breitner
Dear Laurent, I’m one of the Debian maintainers of the main Haskell compiler GHC. GHC itself has little resources to maintain GHC on exotic architectures, but Debian tries hard to provide a Haskell ecosystem on these. It would help a lot if there were GHC buildbots on these architectures, and I

Re: [Haskell] [Haskell-cafe] ANNOUNCE: system-filepath 0.4.5 and system-fileio 0.3.4

2012-02-07 Thread Simon Marlow
On 06/02/2012 20:32, Ian Lynagh wrote: On Sun, Feb 05, 2012 at 07:17:32PM -0800, John Millikin wrote: That was my understanding also, then QuickCheck found a counter-example. It turns out that there are cases where a valid path cannot be roundtripped in the GHC 7.2 encoding. This is fixed in

[Haskell] [ANNOUNCE] JuicyPixels 1.1 - image loading library (maintenance release)

2012-02-07 Thread Vincent Berthoux
Hello list, This is a maintenance release without new functionality, the central change is the switch from Haskell Array to Data.Vector (to ease it's use for OpenGL texture loading). Juicy.Pixels 1.1 change log : - Fixing automatic bitmap decoding, the decodeImage function wasn't trying

Re: [Haskell] [Haskell-cafe] ANNOUNCE: system-filepath 0.4.5 and system-fileio 0.3.4

2012-02-07 Thread John Meacham
On Tue, Feb 7, 2012 at 4:24 AM, Simon Marlow marlo...@gmail.com wrote: Separately the unix package added support for undecoded FilePaths (RawFilePath), but unfortunately at the same time we started using a new extension in GHC 7.4.1 (CApiFFI), which we decided not to document because it was

[Haskell] ANNOUNCE: jhc-0.8.0

2012-02-07 Thread John Meacham
I am happy to announce jhc 0.8.0 There have been A lot of major changes in jhc with this release. - http://repetae.net/computer/jhc - A brand new and sanified library description file format. Now it is a true YAML file. The previous quasi-cabal files are supported but deprecated. - new

Re: [Haskell-cafe] Exceeding OS limits for simultaneous socket connections

2012-02-07 Thread Alexander Kjeldaas
On 30 January 2012 14:22, Rob Stewart robstewar...@gmail.com wrote: Hi, I'm experiencing the accept: resource exhausted (Too many open files) exception when trying to use sockets in my Haskell program. The situation: - Around a dozen Linux machines running my Haskell program, transmitting

Re: [Haskell-cafe] ANN: exists-0.1

2012-02-07 Thread Gábor Lehel
On Tue, Feb 7, 2012 at 7:23 AM, Mikhail Vorozhtsov mikhail.vorozht...@gmail.com wrote: Even better, you can write type ExistentialWith c e = (Existential e, c ~ ConstraintOf e) instead of class    (Existential e, c ~ ConstraintOf e) = ExistentialWith c e instance (Existential e, c ~

[Haskell-cafe] ANNOUNCE MFlow-0.0.3 an Application Server for stateful web apps with statically typed widget combinators

2012-02-07 Thread Alberto G. Corona
Hi Haskellers I I´m happy to announce the first version of MFlow http://hackage.haskell.org/package/MFlow MFlow permits the execution of web applications in a procedural form, that is, with multiple requests-response interactions in a single procedure. MFlow stores the execution state, manage

Re: [Haskell-cafe] ANNOUNCE MFlow-0.0.3 an Application Server for stateful web apps with statically typed widget combinators

2012-02-07 Thread Alberto G. Corona
Here you can take a look at a complete example included in the package: http://haskell-web.blogspot.com/2012/02/web-application-server-with-stateful.html This snippet is the web page in declarative form: shopProds :: V.Vector Int - [Prod] - View Html IO (Either Int Prod)shopProds

Re: [Haskell-cafe] ANN: exists-0.1

2012-02-07 Thread Yves Parès
Are there documentation on constraints being types, how they can be declared/handled and what are the interests? 2012/2/7 Mikhail Vorozhtsov mikhail.vorozht...@gmail.com On 02/06/2012 03:32 AM, Gábor Lehel wrote: There's a common pattern in Haskell of writing: data E where E :: C a = a -

Re: [Haskell-cafe] ANN: exists-0.1

2012-02-07 Thread Mikhail Vorozhtsov
On 02/07/2012 06:49 PM, Yves Parès wrote: Are there documentation on constraints being types, how they can be declared/handled and what are the interests? The GHC User's Guide has (somewhat short) section http://www.haskell.org/ghc/docs/latest/html/users_guide/constraint-kind.html Blog posts:

Re: [Haskell-cafe] [Haskell] ANNOUNCE: system-filepath 0.4.5 and system-fileio 0.3.4

2012-02-07 Thread Simon Marlow
On 06/02/2012 20:32, Ian Lynagh wrote: On Sun, Feb 05, 2012 at 07:17:32PM -0800, John Millikin wrote: That was my understanding also, then QuickCheck found a counter-example. It turns out that there are cases where a valid path cannot be roundtripped in the GHC 7.2 encoding. This is fixed in

Re: [Haskell-cafe] ANN: exists-0.1

2012-02-07 Thread Mikhail Vorozhtsov
On 02/07/2012 04:05 PM, Gábor Lehel wrote: On Tue, Feb 7, 2012 at 7:23 AM, Mikhail Vorozhtsov mikhail.vorozht...@gmail.com wrote: Even better, you can write type ExistentialWith c e = (Existential e, c ~ ConstraintOf e) instead of class(Existential e, c ~ ConstraintOf e) =

Re: [Haskell-cafe] Some thoughts on Type-Directed Name Resolution

2012-02-07 Thread Steve Horne
On 06/02/2012 23:58, Richard O'Keefe wrote: On 4/02/2012, at 12:13 AM, Gábor Lehel wrote: All of this said, record.field is still the most readable, intuitive, and familiar syntax for selecting a field from a record that I know of. Having learned COBOL and Algol 68 before Haskell was dreamed

Re: [Haskell-cafe] network-2.3.0.10 compiled for ghc 7.4.1 windows

2012-02-07 Thread Alberto G. Corona
Hi Johan, The patch is not for the current version of network and the code is quite different. Basically it is necesary to define this variable as unsigned short that is the thing intended in the patch. however I put it by brute force, without regard of the prerpocessor directives. With this

Re: [Haskell-cafe] ANN: exists-0.1

2012-02-07 Thread Gábor Lehel
2012/2/7 Mikhail Vorozhtsov mikhail.vorozht...@gmail.com: Ah, sorry, I got sloppy. Have you encountered situations where partial application of such constraint aliases becomes a problem? In the particular case of the Existential class I'm not sure (it's hard to imagine a real-world application

Re: [Haskell-cafe] Loading a texture in OpenGL

2012-02-07 Thread L Corbijn
On Tue, Feb 7, 2012 at 5:23 AM, Austin Seipp mad@gmail.com wrote: Just to clarify, this guarantee possibly could be made, ghc just doesn't do it now. In the past ghc never guaranteed a finalizer would ever be run. Regardless I would be wary of trusting finalizers to clean up very scarce

Re: [Haskell-cafe] Switching GHC Version

2012-02-07 Thread Sean Leather
Hi Yusaku, On Tue, Feb 7, 2012 at 00:27, HASHIMOTO, Yusaku wrote: Hi, I wrote a simple shell function for switching GHC version on the system. It works only under Mac OSX, and only switch GHCs installed via .pkg installers. It's useful to experiment newer features without worrying breaking

Re: [Haskell-cafe] Some thoughts on Type-Directed Name Resolution

2012-02-07 Thread David Thomas
Crash blossoms, while amusing, are not a desirable feature of a programming language. They are specifically a failure to communicate clearly. On Feb 6, 2012 6:38 PM, AntC anthony_clay...@clear.net.nz wrote: Donn Cave donn at avvanta.com writes: You can find stuff like fromIntegral.ord in

Re: [Haskell-cafe] network-2.3.0.10 compiled for ghc 7.4.1 windows

2012-02-07 Thread Holger Reinhardt
Hi, (I submitted the patch that Johan linked to) Network/Socket/Internal.hsc has the following code: #if defined(WITH_WINSOCK) || defined(cygwin32_HOST_OS) type CSaFamily = (#type unsigned short) #elif defined(darwin_HOST_OS) type CSaFamily = (#type u_char) #else type CSaFamily = (#type

[Haskell-cafe] [ANNOUNCE] JuicyPixels 1.1 - image loading library (maintenance release)

2012-02-07 Thread Vincent Berthoux
Hello list, This is a maintenance release without new functionality, the central change is the switch from Haskell Array to Data.Vector (to ease it's use for OpenGL texture loading). Juicy.Pixels 1.1 change log : - Fixing automatic bitmap decoding, the decodeImage function wasn't trying

[Haskell-cafe] Domain Specific Languages and better Error messages

2012-02-07 Thread Victor Miller
This week, at work, I've been attending a workshop which is concerned with writing (actually rewriting) a domain specific language that we've been using.Although I've only known Haskell for four months, I can see that it's infected my brain, since I kept seeing Haskell solutions to all sorts

Re: [Haskell-cafe] network-2.3.0.10 compiled for ghc 7.4.1 windows

2012-02-07 Thread Alberto G. Corona
This is quite different. I don´t know how but I was looking at some other older patch around the same issue and I supposed that it was the one refered by Yohan Tibell. I´ll try your patch. Thanks!. 2012/2/7 Holger Reinhardt hreinha...@gmail.com: Hi, (I submitted the patch that Johan linked

[Haskell-cafe] FP activities and researchers in Warwickshire

2012-02-07 Thread Ivan Perez
Hello, I recently moved to Kenilworth, Warwickshire, UK, and I'd like to know if there are meetings, talks, or any FP-related activities going on around here. I contacted somebody at Warwick University but, from what I understood, their Formal Methods group doesn't exist as such any longer and

Re: [Haskell-cafe] network-2.3.0.10 compiled for ghc 7.4.1 windows

2012-02-07 Thread Johan Tibell
Note that there are two branches on github, master and stable. You want the latter. On Feb 7, 2012 8:23 AM, Alberto G. Corona agocor...@gmail.com wrote: This is quite different. I don´t know how but I was looking at some other older patch around the same issue and I supposed that it was the

Re: [Haskell-cafe] network-2.3.0.10 compiled for ghc 7.4.1 windows

2012-02-07 Thread Alberto G. Corona
The code is evolving and none of the versions match exactily with the patch, but substituting HAVE_WINSOCK by HAVE WINSOCK2 in these files solves the compilation problem at least in the network 2.3.0.10 version from hackage. However it produces the same undefined references when this library is

Re: [Haskell-cafe] network-2.3.0.10 compiled for ghc 7.4.1 windows

2012-02-07 Thread Holger Reinhardt
Did you also change the files in the /cbits/ folder? Because they also check for HAVE_WINSOCK_H. 2012/2/7 Alberto G. Corona agocor...@gmail.com The code is evolving and none of the versions match exactily with the patch, but substituting HAVE_WINSOCK by HAVE WINSOCK2 in these files solves the

[Haskell-cafe] -XPolyKinds and undefined arguments

2012-02-07 Thread Douglas McClean
There are all sorts of useful functions that would otherwise require explicit type applications which we work around by passing undefined and ignoring its value. (See http://www.haskell.org/pipermail/libraries/2010-October/014742.html for a prior discussion of why this is, how the use of undefined

Re: [Haskell-cafe] network-2.3.0.10 compiled for ghc 7.4.1 windows

2012-02-07 Thread Alberto G. Corona
The problem this time is in Configure : case $host in *-mingw32) EXTRA_SRCS=cbits/initWinSock.c, cbits/winSockErr.c, cbits/asyncAccept.c EXTRA_LIBS=ws2_32 CALLCONV=stdcall ;; *-solaris2*) EXTRA_SRCS=cbits/ancilData.c EXTRA_LIBS=nsl, socket

Re: [Haskell-cafe] Evaluating parallel computations in order of finishing (approximately)

2012-02-07 Thread Ryan Newton
In stream processing frameworks this is a (common) non-deterministic merge operation. Because it's nondeterministic it would need to happen in IO: parCompletionOrder :: [a] - IO [a] But it can be nonblocking (returns immediately, and lazy IO happens in the background). The Chan library has a

Re: [Haskell-cafe] The State of Testing?

2012-02-07 Thread Michael Craig
Thanks for the advice, all. I've got test-framework, quickcheck, and cabal's test-suite all working together nicely. Cabal seems to support using hpc to check test coverage. If I add -fhpc to the ghc-options under the test-suite, I get output like Test coverage report written to

Re: [Haskell-cafe] The State of Testing?

2012-02-07 Thread Austin Seipp
If you're writing a library, you need to compile the library with `-fhpc`, i.e. put it in the library stanza, not the testsuite stanza, and then you can compile the test program using your library - the resulting 'tix' file will contain the library coverage reports. You can link a HPC-built

Re: [Haskell-cafe] Some thoughts on Type-Directed Name Resolution

2012-02-07 Thread Richard O'Keefe
On 7/02/2012, at 1:41 PM, AntC wrote: Richard, now you're just being playful. Half fun and full earnest. I *do* regard 'field OF record' as far more readable, intuitive, c than 'record.field'. With the number of meanings '.' already has in Haskell, I *do* regard any attempt to overload it for

Re: [Haskell-cafe] The State of Testing?

2012-02-07 Thread Ryan Newton
By the way, has anyone else had trouble with cabal test diverging? I've been running into this issue with cabal 0.10.2, but ONLY in conjunction with GHC 6.12.3. It's hard to make a small reproducer for (and therefore I haven't filed a bug yet), but you can see the below Jenkins run stalled for

Re: [Haskell-cafe] FP activities and researchers in Warwickshire

2012-02-07 Thread Malcolm Wallace
Fun in the afternoon, a termly gathering of UK FP people, will be in Oxford on 28th Feb. http://sneezy.cs.nott.ac.uk/fun/ On 7/02/2012, at 18:32, Ivan Perez ivanperezdoming...@gmail.com wrote: Hello, I recently moved to Kenilworth, Warwickshire, UK, and I'd like to know if there are

Re: [Haskell-cafe] Some thoughts on Type-Directed Name Resolution

2012-02-07 Thread wren ng thornton
On 2/7/12 4:52 PM, Richard O'Keefe wrote: Anyone who has had occasion to write Fortran in the last 20+ years has had to discover just how quickly you can get used to using 'record%field'. I'm not really a COBOL programmer, but Prolog and Erlang and Smalltalk taught me well that '.' in a

Re: [Haskell-cafe] network-2.3.0.10 compiled for ghc 7.4.1 windows

2012-02-07 Thread Holger Reinhardt
I just use the version of MSys that is included with Git [1]. This puts a Git bash icon on your desktop which you can then use to build the network library. [1] http://code.google.com/p/msysgit/ 2012/2/7 Alberto G. Corona agocor...@gmail.com Nothing bur a long history of failures. The problem

Re: [Haskell-cafe] Some thoughts on Type-Directed Name Resolution

2012-02-07 Thread Richard O'Keefe
On 8/02/2012, at 2:11 AM, Steve Horne wrote: On 06/02/2012 23:58, Richard O'Keefe wrote: On 4/02/2012, at 12:13 AM, Gábor Lehel wrote: All of this said, record.field is still the most readable, intuitive, and familiar syntax for selecting a field from a record that I know of. Having

Re: [Haskell-cafe] The State of Testing?

2012-02-07 Thread Michael Craig
How do you control where the .mix files are generated? GHC is putting them in .hpc/, but I'm getting errors like hpc: can not find test-0.0.0/Data.Test in [./dist/hpc/mix/test-0.0.0]. Mike Craig On Tue, Feb 7, 2012 at 5:12 PM, Ryan Newton rrnew...@gmail.com wrote: By the way, has anyone else

Re: [Haskell-cafe] network-2.3.0.10 compiled for ghc 7.4.1 windows

2012-02-07 Thread Alberto G. Corona
I switched to Git bash and the runtime error produced by the library is the same. This error may be produced because the configuration it does not detect the netwiorkin related includes such is socket.h. This does not exist neither in the ghc installation neither in GIT/Mingw 2012/2/7 Holger

Re: [Haskell-cafe] [Haskell] ANNOUNCE: system-filepath 0.4.5 and system-fileio 0.3.4

2012-02-07 Thread John Meacham
On Tue, Feb 7, 2012 at 4:24 AM, Simon Marlow marlo...@gmail.com wrote: Separately the unix package added support for undecoded FilePaths (RawFilePath), but unfortunately at the same time we started using a new extension in GHC 7.4.1 (CApiFFI), which we decided not to document because it was

Re: [Haskell-cafe] -XPolyKinds and undefined arguments

2012-02-07 Thread John Meacham
Can't you do something like have the kind be unlifted? for instance data Proxy (a :: #) data Type1 :: # data Type2 :: # John On Tue, Feb 7, 2012 at 12:19 PM, Douglas McClean douglas.mccl...@gmail.com wrote: There are all sorts of useful functions that would otherwise require explicit

Re: [Haskell-cafe] The State of Testing?

2012-02-07 Thread Thomas Tuegel
On Tue, Feb 7, 2012 at 3:23 PM, Austin Seipp mad@gmail.com wrote: If you're writing a library, you need to compile the library with `-fhpc`, i.e. put it in the library stanza, not the testsuite stanza, and then you can compile the test program using your library - the resulting 'tix' file

Re: [Haskell-cafe] Loading a texture in OpenGL

2012-02-07 Thread Clark Gaebel
Sounds hairy. Is there any way to get reference counting garbage collection in Haskell? On Tue, Feb 7, 2012 at 9:26 AM, L Corbijn aspergesoe...@gmail.com wrote: On Tue, Feb 7, 2012 at 5:23 AM, Austin Seipp mad@gmail.com wrote: Just to clarify, this guarantee possibly could be made, ghc

Re: [Haskell-cafe] Contributing to http-conduit

2012-02-07 Thread Antoine Latter
On Tue, Feb 7, 2012 at 10:28 PM, Myles C. Maxfield myles.maxfi...@gmail.com wrote: I have been looking around at possibly making a Browser module for Network.HTTP.Conduit on top of Control.Monad.State. I came across this roadbump: In order to implement redirection following, client code must

Re: [Haskell-cafe] Loading a texture in OpenGL

2012-02-07 Thread Alex Mason
It's possible ResourceT from the yesod guys could be quite useful. It allows you to manually release things, but also ensures that things are released in case of exceptions. It also supports, from what I can tell, some kind of reference counting for use with multiple threads (the deallocator isn't

Re: [Haskell-cafe] Contributing to http-conduit

2012-02-07 Thread Michael Snoyman
On Wed, Feb 8, 2012 at 6:28 AM, Myles C. Maxfield myles.maxfi...@gmail.com wrote: I have been looking around at possibly making a Browser module for Network.HTTP.Conduit on top of Control.Monad.State. I came across this roadbump: In order to implement redirection following, client code must

  1   2   >