Re: [Haskell-cafe] Haddock fails on ConfigFile, but why?

2011-10-22 Thread Magnus Therning
On Sat, Oct 22, 2011 at 12:50:48AM +0200, Daniel Fischer wrote: On Friday 21 October 2011, 23:49:45, Magnus Therning wrote: Would love to get some help on making Haddock accept ConfigFile[1]. The error message is about as far from helpful as you can get ;)

Re: [Haskell-cafe] runStateT execution times measurement baffling

2011-10-22 Thread Bas van Dijk
On 20 October 2011 22:16, thomas burt thedwa...@gmail.com wrote: Perhaps I will try and force `stuffToDo` not to leave any partially evaluated thunks behind and compare the cost then. What happens when you switch to a strict StateT? Bas ___

[Haskell-cafe] lazy A-star search

2011-10-22 Thread Anton Kholomiov
Recently I was looking for an A-star search algorithm. I've found a package but I couldn't understand the code. Then I saw some blogposts but they were difficult to understand too. I thought about some easier solution that relies on laziness. And I've come to this: Heuristic search is like

Re: [Haskell-cafe] New rss maintainer

2011-10-22 Thread Sjoerd Visscher
That's a great idea! On Oct 21, 2011, at 5:34 PM, Vincent Hanquez wrote: On 10/20/2011 08:27 PM, Bas van Dijk wrote: Hello, I've a small patch[1] that updates the rss package to the latest versions of its dependencies. (I'm trying to get the new hackage-server to build on ghc-7.2.1)

Re: [Haskell-cafe] New rss maintainer

2011-10-22 Thread Bas van Dijk
I released a new rss: http://hackage.haskell.org//package/rss-3000.2.0 It no longer requires old-time and is tested with the latest versions of its dependencies. On 21 October 2011 17:34, Vincent Hanquez t...@snarc.org wrote: Perhaps, unless someone step up, it would be nice to move packages

Re: [Haskell-cafe] lazy A-star search

2011-10-22 Thread Richard Senington
How do you mean effective? While I am not sure they mention A* search, you might like to look at the paper Modular Lazy Search for Constraint Satisfaction Problems by Nordin Tolmach. http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.34.4704 RS On 22/10/11 13:28, Anton Kholomiov

Re: [Haskell-cafe] lazy A-star search

2011-10-22 Thread Anton Kholomiov
Sorry for my English. I mean can be used in practice, no only for toy examples 2011/10/22 Richard Senington sc06...@leeds.ac.uk ** How do you mean effective? While I am not sure they mention A* search, you might like to look at the paper Modular Lazy Search for Constraint Satisfaction

[Haskell-cafe] hackage and cabal test support: why does it claim I have no type field when I do?

2011-10-22 Thread Doug Burke
I've just been updating my code to take advantage of the test support in Cabal. I have it so that    cabal configure --enable-tests   cabal build   cabal test works. However, when I try to upload to hackage, I get    cabal upload -c dist/swish-0.6.2.0.tar.gz   Checking

Re: [Haskell-cafe] Message

2011-10-22 Thread Claus Reinke
The world needs programmers to accept and take seriously Greg Wilson's extensible programming, and stop laughing it off as lolwut wysiwyg msword for programming, and start implementing it. http://third-bit.com/blog/archives/4302.html Who is the world? For starters, I don't think it is Greg

Re: [Haskell-cafe] hackage and cabal test support: why does it claim I have no type field when I do?

2011-10-22 Thread JP Moresmau
Maybe the issue is that the test modules are missing from the distribution file, which is a known bug. (http://hackage.haskell.org/trac/hackage/ticket/792) JP On Sat, Oct 22, 2011 at 7:04 PM, Doug Burke doug_j_bu...@yahoo.com wrote: I've just been updating my code to take advantage of the test

Re: [Haskell-cafe] hackage and cabal test support: why does it claim I have no type field when I do?

2011-10-22 Thread Doug Burke
Aha, I'd missed that; thanks - I'll try the fix after going pumpkin hunting with the kids! Doug From: JP Moresmau jpmores...@gmail.com To: Doug Burke doug_j_bu...@yahoo.com Cc: Haskell-Cafe@haskell.org Haskell-Cafe@haskell.org Sent: Saturday, October 22, 2011

Re: [Haskell-cafe] Message

2011-10-22 Thread MigMit
Yeah, I was going to mention Smalltalk too, as one of the languages NOT using plain text to store programs — which led to a very strong boundary between ST and other world, not doing any favors to the first. The idea of using some non-plaintext-based format to store programs appeared lots of

Re: [Haskell-cafe] runStateT execution times measurement baffling

2011-10-22 Thread thomas burt
Sorry, thought I had replied to this with my result! I added `seq` and $! inside `stuffToDo` to ensure that there weren't any thunks left around after it was called. The measured times were only a few hundredths of a second apart after that. So, apparently even with a strict StateT, partially

Re: [Haskell-cafe] runStateT execution times measurement baffling

2011-10-22 Thread Daniel Fischer
On Saturday 22 October 2011, 23:07:44, thomas burt wrote: Sorry, thought I had replied to this with my result! I added `seq` and $! inside `stuffToDo` to ensure that there weren't any thunks left around after it was called. The measured times were only a few hundredths of a second apart

Re: [Haskell-cafe] hackage and cabal test support: why does it claim I have no type field when I do?

2011-10-22 Thread Doug Burke
Actually, it seems to be more related to http://hackage.haskell.org/trac/hackage/ticket/811 since if I remove the conditional elements within the test stanzas it looks like hackage is happy again. Doug From: Doug Burke doug_j_bu...@yahoo.com To: JP Moresmau

[Haskell-cafe] is Haskell missing a non-instantiating polymorphic case?

2011-10-22 Thread Adam Megacz
The title might be a bit more provocative than necessary. I'm starting to suspect that there are very useful aspects of the parametricity of System F(C) which can't be taken advantage of by Haskell in its current state. To put it briefly, case-matching on a value of type (forall n . T n)