Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-11 Thread wren ng thornton
On 12/9/10 4:04 PM, Richard O'Keefe wrote: On 10/12/2010, at 12:18 AM, Markus Läll wrote: My take on the issue is that we should make it possible to easily mirror hackage (what the OP asked for), so that people could use it when they wanted to, and have a list of the mirrors on the wiki.

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-11 Thread wren ng thornton
On 12/11/10 5:59 AM, wren ng thornton wrote: On 12/9/10 4:04 PM, Richard O'Keefe wrote: As long as the material from Y replicated at X is *supposed* to be publicly available, I don't see a security problem here. Only Y accepts updates from outside, and it continues to do whatever authentication

[Haskell-cafe] Help with lhs2TeX

2010-12-11 Thread Dominic Steintiz
Hi, I wonder if someone could point out what I am doing wrong. My understanding was that I should be able to create a .lhs file and run it e.g. with ghci and then use lhs2TeX to create a nice .pdf file, all from the same source. I can produce nice slides but unfortunately the .lhs does compile

Re: [Haskell-cafe] Help with lhs2TeX

2010-12-11 Thread Ralf Hinze
Hi Dominic, Hi, I wonder if someone could point out what I am doing wrong. My understanding was that I should be able to create a .lhs file and run it e.g. with ghci and then use lhs2TeX to create a nice .pdf file, all from the same source. I can produce nice slides but unfortunately the .lhs

Re: [Haskell-cafe] haskell2010 and state question.

2010-12-11 Thread Henning Thielemann
Henk-Jan van Tuyl schrieb: On Wed, 08 Dec 2010 10:03:40 +0100, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, Formerly, I had IORef and some state monad to do the task of keeping states. Now in haskell 2010, I cannot find anything about it. Do I have to use ghc base

Re: [Haskell-cafe] A home-brew iteration-alike library: some extension quiestions

2010-12-11 Thread Henning Thielemann
John Millikin schrieb: On Thu, Dec 9, 2010 at 12:43, Michael Snoyman mich...@snoyman.com wrote: For the record, enumerator (and I believe iteratee as well) uses transformers, not mtl. transformers itself is Haskell98; all FunDep code is separated out to monads-fd. Michael iteratee also

Re: [Haskell-cafe] A home-brew iteration-alike library: some extension quiestions

2010-12-11 Thread Henning Thielemann
Antoine Latter schrieb: It's a mater of taste which way to go, but I prefer importing modules qualified rather than have type-suffixes on functions - so I would rather use 'I.next' and 'A.next' instead of 'nextI' and 'nextA'. But reasonable people can disagree on this.

Re: [Haskell-cafe] [Haskell] haskell.org migration complete

2010-12-11 Thread Henning Thielemann
It seems that the new Wiki interprets a line-feed as beginning of a new paragraph. Before only two LFs where interpreted as paragraph separators. I liked the former interpretation because it allowed to split a paragraph into lines, where each sentence or each part of a sentence is on an

[Haskell-cafe] How can i insert graphic into a haddock document?

2010-12-11 Thread Poprádi Árpád
Hi, I have found nothing about this topic in the haddock documentation. Is there a light way to do that? Best regards, Árpád ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Recent Package Updates on Haskell.org

2010-12-11 Thread A.
Is it just me or has the list of recent package updates, as seen on the front page of haskell.org, not changed since the migration? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How can i insert graphic into a haddock document?

2010-12-11 Thread David Waern
2010/12/11 Poprádi Árpád popradi_ar...@freemail.hu Hi, I have found nothing about this topic in the haddock documentation. Is there a light way to do that? Yes: -- | picture-url-here The documentation should be updated. David ___ Haskell-Cafe

Re: [Haskell-cafe] dot-ghci files

2010-12-11 Thread Maciej Piechotka
On Thu, 2010-12-09 at 14:01 -0500, Albert Y. C. Lai wrote: On 10-12-09 01:57 PM, Claus Reinke wrote: Perhaps ghc should also ignore all group-writable *.hs, *.lhs, *.c, *.o, *.hi files. dot-ghci files are *run* if you just start ghci (or ghc -e) in that directory (even if you don't

Re: [Haskell-cafe] dot-ghci files

2010-12-11 Thread Maciej Piechotka
On Thu, 2010-12-09 at 17:01 +1000, Tony Morris wrote: I teach haskell quite a lot. I recommend using .ghci files in projects. Today I received complaints about the fact that ghci will reject .ghci if it is group-writeable. I didn't offer an opinion on the matter. I am wondering if these

Re: [Haskell-cafe] Offer to mirror Hackage

2010-12-11 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/9/10 16:04 , Richard O'Keefe wrote: I thought X is a mirror of Y meant X would be a read-only replica of Y, with some sort of protocol between X and Y to keep X up to date. As long as the material from Y replicated at X is *supposed* to be

Re: [Haskell-cafe] Recent Package Updates on Haskell.org

2010-12-11 Thread Don Stewart
gabrielp: Is it just me or has the list of recent package updates, as seen on the front page of haskell.org, not changed since the migration? That's right. I have to tweak the tool a little bit for the new format. ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] [Haskell] ANNOUNCE: genprog-0.1

2010-12-11 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/8/10 12:57 , Andrew Coppin wrote: inherited a knackered L-gulonolactone oxidase enzyme. L-gluconolactone oxidase maybe? (pedants-R-us...) - -- brandon s. allbery [linux,solaris,freebsd,perl] allb...@kf8nh.com system administrator

[Haskell-cafe] Issues Installing Vacuum-Cairo 0.4.1, gtk-0.12.0, GHC 6.12.3, Cairo 0.12.0

2010-12-11 Thread aditya siram
Hi all, When I try to cabal install vacuum-cairo, I get the following error message : Resolving dependencies... Configuring vacuum-cairo-0.4.1... Preprocessing library vacuum-cairo-0.4.1... Building vacuum-cairo-0.4.1... [1 of 1] Compiling System.Vacuum.Cairo ( System/Vacuum/Cairo.hs,

Re: [Haskell-cafe] Help with lhs2TeX

2010-12-11 Thread Dominic Steintiz
the basic approach (originally) is to have an executable Haskell program so that you can typecheck it. Then you add some %format directives to make it look nice, eg. %format Mu f = \mu f %format in_ = in^\circ should do the job. Hth, Ralf It certainly does. Obvious really (as are

[Haskell-cafe] [SOLVED] Re: Issues Installing Vacuum-Cairo 0.4.1, gtk-0.12.0, GHC 6.12.3, Cairo 0.12.0

2010-12-11 Thread aditya siram
I have fixed the issue on my end. The compiler was apparently confused by the following import lines : import qualified Graphics.UI.Gtk as G import qualified Graphics.UI.Gtk.Gdk.Events as G I changed the first to : import qualified Graphics.UI.Gtk as Gtk and make subsequent changes to the file

[Haskell-cafe] The Monad Reader links are broken

2010-12-11 Thread Jason Dagit
Hello, I noticed today that the links in this article point to Haskell.org and they are broken: http://themonadreader.wordpress.com/previous-issues/ Maybe someone can fix this? Thanks! Jason ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] haskell-2010 binary IO

2010-12-11 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/10/10 02:14 , Permjacov Evgeniy wrote: Does haskell 2010 include binary IO? If no, what was the reason? That's not really the language report's job. You're looking for the Haskell Platform. - -- brandon s. allbery

Re: [Haskell-cafe] dot-ghci files

2010-12-11 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/9/10 02:01 , Tony Morris wrote: I teach haskell quite a lot. I recommend using .ghci files in projects. Today I received complaints about the fact that ghci will reject .ghci if it is group-writeable. I didn't offer an opinion on the matter.

Re: [Haskell-cafe] haskell2010 and state question.

2010-12-11 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/9/10 20:40 , Magicloud Magiclouds wrote: First to notice that. So standard-wise, there is no way to do state thing? There seems to be a lot of confusion as to what the language standard covers. It is a bare minimum; practical libraries are