Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ivan Lazar Miljenovic
On 25 October 2011 16:02, Rustom Mody wrote: > On Mon, Oct 24, 2011 at 10:16 AM, Ivan Lazar Miljenovic > wrote: >> >> On 24 October 2011 13:51, Rustom Mody wrote: >> > How does diagrams compare with graphviz?  If this is an inappropriate >> > (type-wrong?) question thats ok :-)  Its just that wh

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Rustom Mody
On Mon, Oct 24, 2011 at 10:16 AM, Ivan Lazar Miljenovic < ivan.miljeno...@gmail.com> wrote: > On 24 October 2011 13:51, Rustom Mody wrote: > > How does diagrams compare with graphviz? If this is an inappropriate > > (type-wrong?) question thats ok :-) Its just that when I last looked at > > gra

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Rustom Mody
On Mon, Oct 24, 2011 at 10:17 PM, Stephen Tetley wrote: > > Rustom Mody writes: > > > >> I remember (vaguely) a 'live page' ie where one could enter (into the > >> browser) changes to the diagrams code and see the results immediately. > >> Is that page there? (Or am I mixing up with something els

Re: [Haskell-cafe] Package documentation complaints -- and a suggestion

2011-10-24 Thread Ivan Lazar Miljenovic
On 25 October 2011 13:34, wren ng thornton wrote: > Before dealing with automatic documentation requirements, perhaps it'd be > better to develop a standard consensus on the terms used in the stability > field and actively advocating for people to adopt it, as was done with the > PVP. +1, not to

Re: [Haskell-cafe] Package documentation complaints -- and a suggestion

2011-10-24 Thread wren ng thornton
On 10/24/11 12:34 PM, Gregory Collins wrote: Examples could include: "Your package lacks a description", "more than X% of your modules lack toplevel module comments", "fewer than Y% of your toplevel exports have haddock comments", etc... Packages with stability=experimental would probably be exem

Re: [Haskell-cafe] New rss maintainer

2011-10-24 Thread wren ng thornton
On 10/21/11 11:34 AM, Vincent Hanquez wrote: Perhaps, unless someone step up, it would be nice to move packages that have no maintainer anymore into a github organisation (haskell-janitors ?), where each package could have many owners and it's easy and simple to add/remove push rights there. Tha

Re: [Haskell-cafe] Error when installing RSA (for yesod) with GHC 7.2.1

2011-10-24 Thread Yves Parès
Okay, so the problem is with cabal-install. I'd don't verily need ghc 7.2, I think I'll just stick to 7.0.4 unti cabal-install is updated, it will be simpler. 2011/10/24 Daniel Fischer > On Monday 24 October 2011, 23:13:32, Yves Parès wrote: > > I'm using GHC 7.2.1 and cabal-install 0.8 (Cabal 1

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ivan Lazar Miljenovic
On 25 October 2011 04:25, Brent Yorgey wrote: > On Mon, Oct 24, 2011 at 03:46:26PM +1100, Ivan Lazar Miljenovic wrote: >> >> Hmmm... might be interesting to try and use dot/neato/etc. to do the >> layout of a graph, and then use diagrams for the actual >> visualisation... > > I agree!  This has be

Re: [Haskell-cafe] Error when installing RSA (for yesod) with GHC 7.2.1

2011-10-24 Thread Daniel Fischer
On Monday 24 October 2011, 23:13:32, Yves Parès wrote: > I'm using GHC 7.2.1 and cabal-install 0.8 (Cabal 1.8.0.2), and when > "cabal install rsa" > > Apparently it's an instance being declared twice. > However RSA hackage page states that it compiles under GHC 7.2: > http://hackage.haskell.org/p

Re: [Haskell-cafe] Error when installing RSA (for yesod) with GHC 7.2.1

2011-10-24 Thread Yves Parès
Nope, I already have random 1.0.1.0 installed... 2011/10/24 Thomas DuBuisson > Try to install with: cabal install RSA 'random == 1.0.1.0' > > I'm guessing the issue is your "random" library is less than 1.0.1 and > also includes an instance of Word8 (in other words, the GHC release > you use pu

Re: [Haskell-cafe] Error when installing RSA (for yesod) with GHC 7.2.1

2011-10-24 Thread Thomas DuBuisson
Try to install with: cabal install RSA 'random == 1.0.1.0' I'm guessing the issue is your "random" library is less than 1.0.1 and also includes an instance of Word8 (in other words, the GHC release you use pulled an unofficial version from the repo). Cheers, Thomas On Mon, Oct 24, 2011 at 2:13 P

[Haskell-cafe] Error when installing RSA (for yesod) with GHC 7.2.1

2011-10-24 Thread Yves Parès
I'm using GHC 7.2.1 and cabal-install 0.8 (Cabal 1.8.0.2), and when "cabal install rsa" I got the error $ cabal install rsa Resolving dependencies... Configuring RSA-1.0.6.2... Preprocessing library RSA-1.0.6.2... Preprocessing executables for RSA-1.0.6.2... Building RSA-1.0.6.2... [1 of 1] Compil

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Jason Dagit
On Sun, Oct 23, 2011 at 11:47 AM, Brent Yorgey wrote: > I am pleased to announce the release of version 0.4 of diagrams, a > full-featured framework and embedded domain-specific language for > declarative drawing. > > The last announcement was of the 0.1 release; there have been quite a > few chan

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread David Barbour
Thanks. Diagrams package seems it could be promising for a declarative UI model - i.e. integration with functional reactive programming and similar models - so long as I'm willing to sacrifice `native` look and feel, which doesn't seem like a big problem. A couple more questions: 1) Am I right in

Re: [Haskell-cafe] lost in generics

2011-10-24 Thread Neil Mitchell
Hi Rustom, I tend to find that I use Uniplate for most stuff, and SYB for very complex stuff (SYB is quite a bit more complicated to do the simple things, but can do things out of reach for Uniplate). The example of manipulating AST's is very common, and using a generics library is a very good ide

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Brent Yorgey
On Sun, Oct 23, 2011 at 11:06:19PM -0700, David Barbour wrote: > Is there any way to `query` a diagram, i.e. associate data with each pixel > for mouse clicks? Yes. Every diagram has an associated 'query function', which associates a monoidal value to every point. By default it just returns Tru

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Brent Yorgey
On Mon, Oct 24, 2011 at 03:46:26PM +1100, Ivan Lazar Miljenovic wrote: > > Hmmm... might be interesting to try and use dot/neato/etc. to do the > layout of a graph, and then use diagrams for the actual > visualisation... I agree! This has been on my list of things-to-do-with-diagrams-eventually

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Brent Yorgey
On Mon, Oct 24, 2011 at 08:21:30AM +0530, Rustom Mody wrote: > Thanks. This is attractive. > I remember (vaguely) a 'live page' ie where one could enter (into the > browser) changes to the diagrams code and see the results immediately. > Is that page there? (Or am I mixing up with something else?)

Re: [Haskell-cafe] thespian thoughts

2011-10-24 Thread Simon Michael
Hi Alex. I'm testing thespian in rss2irc, FYI: http://joyful.com/darcsden/simon/rss2irc/browse/rss2irc.hs#L-114 . Maybe there's a better way to use it, but for now it brings me one extra thread and higher memory usage/leakage - an instance grew to 350M overnight where I'd normally see 50-100M.

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Stephen Tetley
> Rustom Mody writes: > >> I remember (vaguely) a 'live page' ie where one could enter (into the >> browser) changes to the diagrams code and see the results immediately. >> Is that page there? (Or am I mixing up with something else?) Maybe it was Péter Diviánszky's 'dia' (entirely different to '

Re: [Haskell-cafe] Package documentation complaints -- and a suggestion

2011-10-24 Thread Gregory Collins
On Mon, Oct 24, 2011 at 12:55 PM, Ryan Newton wrote: >> Good point. On the other hand, nobody points package authors to the >> Debian documentation (and Debian also has review for newly uploaded >> packages, as far as I know). > > Re: review process -- Perhaps there would be a use for a review pro

[Haskell-cafe] Haskell in Munich 2

2011-10-24 Thread Dr . Heinrich Hördegen
Dear all, last month's meeting of Haskellers in Munich was a success. Let's repeat it! We will meet on Wednesday, 26 Oct, at Cafe Puck at Cafe Puck (www.cafepuck.de). Everybody interested in Haskell or functional programming is cordially invited. If you can't make it this time, check out this

Re: [Haskell-cafe] Package documentation complaints -- and a suggestion

2011-10-24 Thread Ryan Newton
> > Good point. On the other hand, nobody points package authors to the > Debian documentation (and Debian also has review for newly uploaded > packages, as far as I know). Re: review process -- Perhaps there would be a use for a review process somewhere between haskell-platform and the unwashed

Re: [Haskell-cafe] hello Haskell

2011-10-24 Thread Yitzchak Gale
Daniel Fischer wrote: >> Just for the record, not a newcomer, and has non-spam >> messages Conrad Parker wrote: > There was a recent hotmail exploit, with people reporting their > account sent spam... No exploit is needed. It is trivial for an impostor to seem as if he is sending email from someo

Re: [Haskell-cafe] hello Haskell

2011-10-24 Thread Ivan Lazar Miljenovic
On 24 October 2011 18:15, Ketil Malde wrote: > Tom Murphy writes: > >> Blocking/unsubscribing people based on their email provider seems... sort of >> impolite or unwelcoming. >> A greylist could work. > > Greylist, as in temporarily refuse a message, and wait for the sending > mail server to ret

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

2011-10-24 Thread Heinrich Apfelmus
Adam Megacz wrote: 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) forces one to instantiate the "n", even t

Re: [Haskell-cafe] hello Haskell

2011-10-24 Thread Ketil Malde
Tom Murphy writes: > Blocking/unsubscribing people based on their email provider seems... sort of > impolite or unwelcoming. > A greylist could work. Greylist, as in temporarily refuse a message, and wait for the sending mail server to retry? I don't see how it would work against hijacked hotma

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-24 Thread Ketil Malde
Rustom Mody writes: > I remember (vaguely) a 'live page' ie where one could enter (into the > browser) changes to the diagrams code and see the results immediately. > Is that page there? (Or am I mixing up with something else?) Chris Smith's web interface to Ben Lippmeier's Gloss, perhaps? http: