Re: [Haskell-cafe] Haskell Platform's libstdc++-6.dll may be interfering with other applications

2013-05-13 Thread Henk-Jan van Tuyl
On Tue, 07 May 2013 20:27:06 +0200, Andrew Pennebaker andrew.penneba...@gmail.com wrote: I use a number of different programming languages, so I have Haskell Platform, Strawberry Perl, Node.js, RVM, and Git Bash installed at the same time. I've noticed that compiling packages with C

[Haskell-cafe] ANN haskdogs-0.3.2

2013-05-13 Thread Sergey Mironov
Hi. I'm pleased to announce haskdogs-0.3.2, a source navigation helper. Haskdogs is a small HSH-based tool which calls hasktags to create tag file for entire haskell project. It takes into account first-level dependencies by recursively scanning imports and adding matching packages to the final

Re: [Haskell-cafe] Set monad

2013-05-13 Thread Petr Pudlák
On 04/12/2013 12:49 PM, o...@okmij.org wrote: One problem with such monad implementations is efficiency. Let's define step :: (MonadPlus m) = Int - m Int step i = choose [i, i + 1] -- repeated application of step on 0: stepN :: (Monad m) = Int - m (S.Set Int) stepN

[Haskell-cafe] Parallel ghc --make

2013-05-13 Thread Niklas Hambüchen
I know this has been talked about before and also a bit in the recent GSoC discussion. I would like to know what prevents ghc --make from working in parallel, who worked at that in the past, what their findings were and a general estimation of the difficulty of the problem. Afterwards, I would

[Haskell-cafe] Release Candidates for Haskell Platform 2013.2

2013-05-13 Thread Mark Lentczner
*Some of the release candidates for Haskell Platform 2013.2 are up.* *These are what I expect to simply re-brand as the release, unless anyone uncovers some issues.* *If you decide to test these out, please let me know how it goes.* * * The Mac OS X RC2 installers: *32bit: *Haskell Platform

Re: [Haskell-cafe] Release Candidates for Haskell Platform 2013.2

2013-05-13 Thread Alfredo Di Napoli
That's awesome :) I'm just curious to dig deeper inside the updates to OpenGL and GLUT, any link or change notes I can read? Thanks, A. On 13 May 2013 15:39, Mark Lentczner mark.lentcz...@gmail.com wrote: *Some of the release candidates for Haskell Platform 2013.2 are up.* *These are what I

Re: [Haskell-cafe] Release Candidates for Haskell Platform 2013.2

2013-05-13 Thread harry
Mark Lentczner mark.lentczner at gmail.com writes: Some of the release candidates for Haskell Platform 2013.2 are up.These are what I expect to simply re-brand as the release, unless anyone uncovers some issues. Will they go on http://trac.haskell.org/haskell-platform/wiki/ReleaseCandidates?

Re: [Haskell-cafe] Parallel ghc --make

2013-05-13 Thread Evan Laforge
I wrote a ghc-server that starts a persistent process for each cpu. Then a 'ghc' frontend wrapper sticks each job in a queue. It seemed to be working, but timing tests didn't reveal any speed-up. Then I got a faster computer and lost motivation. I didn't investigate very deeply why it didn't

Re: [Haskell-cafe] Release Candidates for Haskell Platform 2013.2

2013-05-13 Thread Mark Lentczner
OpenGL and GLUT were very down-rev for quite a number or HP releases. The recent changes are: - OpenGL http://hackage.haskell.org/package/OpenGL *2.2.3.1* ⟶ *2.8.0.0 * - GLUT http://hackage.haskell.org/package/GLUT *2.1.2.1* ⟶ *2.4.0.0* I know that this involved a fair bit of juggling

Re: [Haskell-cafe] Release Candidates for Haskell Platform 2013.2

2013-05-13 Thread Mark Lentczner
It's a wiki - please feel free to do some maintenance when you find it! I fixed the ReleaseCandidates page. - Mark On Mon, May 13, 2013 at 8:21 AM, harry volderm...@hotmail.com wrote: Mark Lentczner mark.lentczner at gmail.com writes: Some of the release candidates for Haskell Platform

Re: [Haskell-cafe] Release Candidates for Haskell Platform 2013.2

2013-05-13 Thread Kim-Ee Yeoh
On Mon, May 13, 2013 at 9:39 PM, Mark Lentczner mark.lentcz...@gmail.comwrote: *Some of the release candidates for Haskell Platform 2013.2 are up.* Kudos! Exactly 7 days from the scheduled date, as stated. Hope to give them a whirl once the other OSes are baked. -- Kim-Ee

Re: [Haskell-cafe] Problem with mailman at projects.haskell.org

2013-05-13 Thread Yitzchak Gale
The mailman daemon process on the server apparently exited for some reason. I restarted it, and now mail traffic seems to be going through normally again. -Yitz On Sun, May 12, 2013 at 9:21 PM, Carter Schonwald carter.schonw...@gmail.com wrote: I've had this problem too. Was trying to sign up

Re: [Haskell-cafe] Problem with mailman at projects.haskell.org

2013-05-13 Thread Tim Docker
Thanks - I can confirm all is working again. I believe than, within some time window. some messages may have been dropped. Tim On 14/05/13 07:06, Yitzchak Gale wrote: The mailman daemon process on the server apparently exited for some reason. I restarted it, and now mail traffic seems to be

Re: [Haskell-cafe] Problem with mailman at projects.haskell.org

2013-05-13 Thread Yitzchak Gale
Quite possible, though I did see some messages going through from two days ago when the mailman daemon went south. Anyone who sent out an important message to one of those lists during the past two days should double check that it now went out to the list. -Yitz On Tue, May 14, 2013 at 12:17

[Haskell-cafe] fromIntegral not enough?

2013-05-13 Thread Christopher Howard
This is probably a haskell-beginners sort of question, but I usually get about 4x as many responses from cafe, about 10x as fast. I have code like so: code: data Xy a = Xy a a class Coord2 a where coords2 :: Fractional b = a b - Xy b data CircAppr a b = CircAppr a b b -- number of

Re: [Haskell-cafe] fromIntegral not enough?

2013-05-13 Thread Tom Ellis
On Mon, May 13, 2013 at 02:08:26PM -0800, Christopher Howard wrote: instance Integral a = Coord2 (CircAppr a) where coords2 (CircAppr divns ang rad) = let dAng = 2 * pi / (fromIntegral divns) in let angles = map (* dAng) [0..divns] in undefined -- To be coded... Your

Re: [Haskell-cafe] fromIntegral not enough?

2013-05-13 Thread Tom Ellis
On Mon, May 13, 2013 at 11:43:41PM +0100, Tom Ellis wrote: On Mon, May 13, 2013 at 02:08:26PM -0800, Christopher Howard wrote: instance Integral a = Coord2 (CircAppr a) where coords2 (CircAppr divns ang rad) = let dAng = 2 * pi / (fromIntegral divns) in let angles = map

Re: [Haskell-cafe] fromIntegral not enough?

2013-05-13 Thread Christopher Howard
On 05/13/2013 02:53 PM, Tom Ellis wrote: On Mon, May 13, 2013 at 11:43:41PM +0100, Tom Ellis wrote: You probably want let angles = map ((* dAng) . fromInteger) [0..divns] in ... instead. Ah, that works. Thanks all. -- frigidcode.com signature.asc Description: OpenPGP

Re: [Haskell-cafe] ANN: Robot - Simulate keyboard and mouse events under X11

2013-05-13 Thread Chris Wong
Oh, I see now. I originally made the runRobot functions reset the input state when the Robot finished running. That worked well for my use case (testing GUIs), but as you have noticed, it causes unintuitive behavior when runRobot is called at a high frequency. In hindsight, that was a design flaw

Re: [Haskell-cafe] ANN: Robot - Simulate keyboard and mouse events under X11

2013-05-13 Thread Niklas Hambüchen
Awesome, that works very well, and it even made my program run faster / with less CPU. The reset functionality is useful, but I think optional is better. Did you remove it entirely or is it still available? On Tue 14 May 2013 08:25:04 SGT, Chris Wong wrote: Oh, I see now. I originally made

Re: [Haskell-cafe] ANN: Robot - Simulate keyboard and mouse events under X11

2013-05-13 Thread Chris Wong
I removed the functionality because I didn't really see a use for it anymore. The `hold` and `tap` functions are already exception safe (thanks to `bracket`), and anyone who uses the unguarded `press` function probably wants to keep it held down anyway. Chris On Tue, May 14, 2013 at 12:46 PM,