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

2011-10-21 Thread Albert Y. C. Lai
On 11-10-20 01:38 PM, thomas burt wrote: I've been trying to measure execution time for some code I'm running with the StateT monad transformer. I have a function f :: StateT MyState IO a Now, I measure the time it takes to run an invocation of this function from beginning to end, i.e. f = do

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

2011-10-21 Thread Daniel Fischer
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 ;) > > dist/build/tmp-15743/src/Data/ConfigFile/Monadic.hs:34:1: > parse error on input `import' >

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

2011-10-21 Thread Daniel Fischer
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 ;) > > dist/build/tmp-15743/src/Data/ConfigFile/Monadic.hs:34:1: > parse error on input `import' >

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

2011-10-21 Thread Ivan Lazar Miljenovic
On 22 October 2011 08:49, 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 ;) > >  dist/build/tmp-15743/src/Data/ConfigFile/Monadic.hs:34:1: >  parse error on input `import' > > The author i

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

2011-10-21 Thread Magnus Therning
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 ;) dist/build/tmp-15743/src/Data/ConfigFile/Monadic.hs:34:1: parse error on input `import' The author is informed but is as confused as me, it seems[2]. /M [1] h

Re: [Haskell-cafe] What is the etiquette for posting to multiple forums?

2011-10-21 Thread Vo Minh Thu
2011/10/21 Michael Litchard : > I know it's bad form to post the same question to multiple mailing > lists. But what about say, the beginner's mailing list and > stackoverflow.com? Hi, Nothing is carved in stone, use your judgment. It shouldn't be done systematically but from time to time, it is

[Haskell-cafe] What is the etiquette for posting to multiple forums?

2011-10-21 Thread Michael Litchard
I know it's bad form to post the same question to multiple mailing lists. But what about say, the beginner's mailing list and stackoverflow.com? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANN: OpenCL 1.0.1.3 package

2011-10-21 Thread Jason Dagit
On Thu, Oct 13, 2011 at 12:34 PM, Martin Dybdal wrote: > On 3 October 2011 12:56, Luis Cabellos wrote: >> Hello, all. >> I want to show you the OpenCL package. I have done this using Jeff Heard >> OpenCLRaw package, but I create a new one due the lack of updates of the >> former. >> # Where to ge

Re: [Haskell-cafe] Message

2011-10-21 Thread Alex Kropivny
Yes I did, in detail. There are two trivial solutions I like: 1. The BERT library (http://bert-rpc.org/) uses Erlang terms for the protocol, and has straightforward mappings to Haskell equivalents. - Pros: trivial on both sides, Erlang terms are really good primitives to build a protocol from - Co

Re: [Haskell-cafe] Message

2011-10-21 Thread Albert Y. C. Lai
On 11-10-21 01:57 PM, aditya siram wrote: > Non snarky question - what does it need? On 11-10-21 01:58 PM, Tom Murphy wrote: Ok, I'll bite: what's it need? Thank you for asking. The world needs another tutorial on lazy evaluation for Haskell. There are currently only 0.5, and it is written b

Re: [Haskell-cafe] Message

2011-10-21 Thread Gaius Hammond
There's no technical reason why not; Twitter is written in Scala and Facebook's chat system in Erlang. Would I see *myself* working at one of these companies? Not likely. Cheers, G -- -Original Message- From: Goutam Tmv Sender: haskell-cafe-boun...@haskell.org

Re: [Haskell-cafe] Message

2011-10-21 Thread Tom Murphy
Ok, I'll bite: what's it need? - Tom / amindfv On Fri, Oct 21, 2011 at 1:51 PM, Albert Y. C. Lai wrote: > On 11-10-21 03:59 AM, Ivan Lazar Miljenovic wrote: > >> 2011/10/21 Goutam Tmv: >> >>> Would you ever see yourself write a web application like Twitter or >>> Facebook >>> in Haskell? >>> >

Re: [Haskell-cafe] Message

2011-10-21 Thread aditya siram
Non snarky question - what does it need? -deech On Fri, Oct 21, 2011 at 12:51 PM, Albert Y. C. Lai wrote: > On 11-10-21 03:59 AM, Ivan Lazar Miljenovic wrote: >> >> 2011/10/21 Goutam Tmv: >>> >>> Would you ever see yourself write a web application like Twitter or >>> Facebook >>> in Haskell? >> >

Re: [Haskell-cafe] Message

2011-10-21 Thread Albert Y. C. Lai
On 11-10-21 03:59 AM, Ivan Lazar Miljenovic wrote: 2011/10/21 Goutam Tmv: Would you ever see yourself write a web application like Twitter or Facebook in Haskell? No. But then, I wouldn't write a web application like either of them in _any_ language. +1 The world does not need another Twit

Re: [Haskell-cafe] Message

2011-10-21 Thread David Leimbach
On Fri, Oct 21, 2011 at 8:02 AM, Yves Parès wrote: > That's interesting, have you ever worked on interfacing Erlang with > Haskell? > I have interfaced Erlang and Haskell... And delivered it as a product. I just came up with a dead-simple text based communication syntax from Erlang to Haskell t

Re: [Haskell-cafe] Data.Vector.Mutable.mapM

2011-10-21 Thread Joachim Breitner
Hi, Am Donnerstag, den 20.10.2011, 23:10 +0200 schrieb Ertugrul Soeylemez: > In general you should try to work with immutable vectors as much as > possible. Done properly you shouldn't lose much performance that way. > > However, sometimes an operation is just much easier to express and > faster

Re: [Haskell-cafe] Trying to install hpodder on OS X Lion

2011-10-21 Thread Antoine Latter
On Fri, Oct 21, 2011 at 10:33 AM, seanh wrote: > On 21 October 2011 17:20, Antoine Latter wrote: >> The exceptions API changed in GHC 6.10, and the 'hpodder' package on >> hackage hasn't been updated to accommodate those changes. >> >> It looks like the version up on github should no longer have

Re: [Haskell-cafe] New rss maintainer

2011-10-21 Thread Vincent Hanquez
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) However Bjorn Bringert told me he's no longer maintaining the package. He asked me t

Re: [Haskell-cafe] Trying to install hpodder on OS X Lion

2011-10-21 Thread seanh
On 21 October 2011 17:20, Antoine Latter wrote: > The exceptions API changed in GHC 6.10, and the 'hpodder' package on > hackage hasn't been updated to accommodate those changes. > > It looks like the version up on github should no longer have this error: > https://github.com/jgoerzen/hpodder > >

Re: [Haskell-cafe] Trying to install hpodder on OS X Lion

2011-10-21 Thread Antoine Latter
On Fri, Oct 21, 2011 at 9:32 AM, seanh wrote: > I'd really like to get hpodder installed on OS X Lion, I can't find it > packaged anywhere (macports, homebrew...) Has anyone got it working? > > I have the haskell platform installed from the pkg file from haskell.org: > > http://hackage.haskell.org

Re: [Haskell-cafe] Message

2011-10-21 Thread Yves Parès
That's interesting, have you ever worked on interfacing Erlang with Haskell? BTW, Twitter switched to Scala, so obviously their initial choice of Ruby end up invalidated. 2011/10/21 Alex Kropivny > Let's look at this from a high, project management level. Twitter ran on... > Ruby initially? Fac

[Haskell-cafe] Trying to install hpodder on OS X Lion

2011-10-21 Thread seanh
I'd really like to get hpodder installed on OS X Lion, I can't find it packaged anywhere (macports, homebrew...) Has anyone got it working? I have the haskell platform installed from the pkg file from haskell.org: http://hackage.haskell.org/platform/mac.html So I tried `cabal install hpodder` bu

[Haskell-cafe] Functional Programmer required for a Greenfield project in a software house in London.

2011-10-21 Thread Oliver Horncastle
Ideally from a high performance computing, real-time systems background (OO experience, either java or c++). Get in touch for more details. Oliver Horncastle Madison Maclean Email: oliver.horncas...@madisonmaclean.com Direct Line: 020 30 30 50 53 ___

[Haskell-cafe] Betfair Opportunity

2011-10-21 Thread James Peters
Hello, I currently work internally at Betfair and we seek Haskell specialists to join our research teams on a permanent basis in London. Please contact me for more details. Thanks, James C Peters Senior Research and Sourcing Consultant Office: +44 (0) 208 834 8513 http://uk.linkedin.com/in/j

Re: [Haskell-cafe] ANN: OpenCL 1.0.1.3 package

2011-10-21 Thread Martin Dybdal
On 17 October 2011 22:47, Judah Jacobson wrote: > On Mon, Oct 17, 2011 at 2:56 AM, Luis Cabellos > wrote: >> >> Other issues to solve, >> How to compile in hackage server to generate documentation online? >> opencl.h isn't in the server so I getting errors. >> > > In my experience, the nicest wa

Re: [Haskell-cafe] Message

2011-10-21 Thread Øystein Kolsrud
I don't know if you are familiar with it, but perhaps this article can be of interest to you: http://www.paulgraham.com/avg.html And a little historical summary: http://en.wikipedia.org/wiki/Viaweb Best regards, Øystein Kolsrud 2011/10/21 Goutam Tmv > Would you ever see yourself write a web

Re: [Haskell-cafe] New rss maintainer

2011-10-21 Thread Bas van Dijk
On 20 October 2011 21:27, Bas van Dijk wrote: > Otherwise I could take it over. I probably won't make lots of changes > since I'm a bit swamped at the moment. Just updating it to the latest > versions. I've moved the repository over to github: https://github.com/basvandijk/rss If nobody steps u

Re: [Haskell-cafe] ANNOUNCE: vector-bytestring-0.0.0.0

2011-10-21 Thread Michael Snoyman
On Fri, Oct 21, 2011 at 11:58 AM, Christian Maeder wrote: > Am 20.10.2011 21:43, schrieb Michael Snoyman: >> >> On Wed, Oct 19, 2011 at 9:29 PM, Ketil Malde  wrote: >>> >>> Michael Snoyman  writes: >>> sense to try and pursue something like what you're suggesting, but I think the default

Re: [Haskell-cafe] Message

2011-10-21 Thread Alex Kropivny
Let's look at this from a high, project management level. Twitter ran on... Ruby initially? Facebook ran on PHP. Immediately this tells me that programming language choice wasn't a factor in their success. One succeeded in building a large throughput system with a "slow" language, the other succee

[Haskell-cafe] Type constructor variables no longer injective in GHC 7.2.1?

2011-10-21 Thread Daniel Schüssler
Hello Cafe, say we take these standard definitions: > {-# LANGUAGE GADTs, TypeOperators, TypeFamilies, ScopedTypeVariables #-} > data a :=: b where > Refl :: a :=: a > subst :: a :=: b -> f a -> f b > subst Refl = id Then this doesn't work (error message at the bottom): > inj1 :: forall

Re: [Haskell-cafe] ANNOUNCE: vector-bytestring-0.0.0.0

2011-10-21 Thread Christian Maeder
Am 20.10.2011 21:43, schrieb Michael Snoyman: On Wed, Oct 19, 2011 at 9:29 PM, Ketil Malde wrote: Michael Snoyman writes: sense to try and pursue something like what you're suggesting, but I think the default Show (Vector Word8) should be the one most useful, most of the time, and I think th

[Haskell-cafe] ICFP 2012: Call for workshops and co-located events

2011-10-21 Thread Wouter Swierstra
CALL FOR WORKSHOP AND CO-LOCATED EVENT PROPOSALS ICFP 2012 17th ACM SIGPLAN International Conference on Functional Programming September 9 - 15, 2012 Copenhagen, Denmark http://icfpconference.org/icf

Re: [Haskell-cafe] Message

2011-10-21 Thread Matti Oinas
I don't think I'm going to write next twitter or facebook but yes, it is on my TODO list. If such an applications can be written with languages like PHP then why not. Can't think of any language that is worse than PHP but still there are lots of web applications written with that. Even I have writt

Re: [Haskell-cafe] Message

2011-10-21 Thread Ivan Lazar Miljenovic
2011/10/21 Goutam Tmv : > Would you ever see yourself write a web application like Twitter or Facebook > in Haskell? No. But then, I wouldn't write a web application like either of them in _any_ language. Now, if your question was "is Haskell a good language for writing large-scale web applicati

Re: [Haskell-cafe] Message

2011-10-21 Thread Michael Snoyman
This is clearly a job for node.js and the /dev/null data store, since they are so web scale~ Less sarcasm: I think any of the main Haskell web frameworks (Yesod, Happstack, Snap) could scale better than Ruby or PHP, and would use any of those in a heartbeat for such a venture. I'd personally use Y

Re: [Haskell-cafe] Message

2011-10-21 Thread Yves Parès
Wow, controversial point I guess... I would add: and if yes, what would you use and why? 2011/10/21 Goutam Tmv > Would you ever see yourself write a web application like Twitter or > Facebook in Haskell? > > ___ > Haskell-Cafe mailing list > Haskell-C

[Haskell-cafe] Message

2011-10-21 Thread Goutam Tmv
Would you ever see yourself write a web application like Twitter or Facebook in Haskell? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe