[Haskell-cafe] Fwd: Error in building buster 1.51
Hello. I try to install buster 1.51. It has been uploaded on hackage. During building there is an error. Same error can been seen on hackage (look at build failre: http://hackage.haskell.org/packages/archive/buster/2.51/logs/failure/ghc-6.10 ). How to fix it? Thanks ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Fwd: Error in building buster 1.51
Hi, In GHC 6.10 exception handling is changed. It is incompatible with 6.8.x versions. It seems that buster wasn't updated for 6.10. So you need or update it your self or ask an author. ___ Sincerely, Mikhail S. Pobolovets 21 ноября 2009 г. 10:11 пользователь Лев Никитин leon.v.niki...@gmail.comнаписал: Hello. I try to install buster 1.51. It has been uploaded on hackage. During building there is an error. Same error can been seen on hackage (look at build failre: http://hackage.haskell.org/packages/archive/buster/2.51/logs/failure/ghc-6.10 ). How to fix it? Thanks ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Fwd: Error in building buster 1.51
Indeed, it was not updated for the 6.10 exception handling. I'll update in a few days. In the meantime, the file operations module is the culprit. It is a top-level module, so if you aren't using it, you could delete it without consequences. Just delete it and delete its depenency from the cabal file. Thanks for finding this... -- Jeff On Sat, Nov 21, 2009 at 4:28 AM, Mikhail styx...@gmail.com wrote: Hi, In GHC 6.10 exception handling is changed. It is incompatible with 6.8.x versions. It seems that buster wasn't updated for 6.10. So you need or update it your self or ask an author. ___ Sincerely, Mikhail S. Pobolovets 21 ноября 2009 г. 10:11 пользователь Лев Никитин leon.v.niki...@gmail.com написал: Hello. I try to install buster 1.51. It has been uploaded on hackage. During building there is an error. Same error can been seen on hackage (look at build failre: http://hackage.haskell.org/packages/archive/buster/2.51/logs/failure/ghc-6.10). How to fix it? Thanks ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Wiki software?
I decided to give orchid a try, but failed to install the latest version (0.0.8) using cabal. The reason is that one of the dependencies (filestore) depends on parsec-2.0.* and orchid requires parsec3. I installed filestore-0.2 separately, but nothing changed. $ cabal install orchid Resolving dependencies... cabal: cannot configure filestore-0.2. It requires parsec ==2.* For the dependency on parsec ==2.* there are these packages: parsec-2.0, parsec-2.1.0.0 and parsec-2.1.0.1. However none of them are available. parsec-2.0 was excluded because orchid-0.0.8 requires parsec ==3.0.* parsec-2.1.0.0 was excluded because orchid-0.0.8 requires parsec ==3.0.* parsec-2.1.0.1 was excluded because orchid-0.0.8 requires parsec ==3.0.* $ ghc-pkg list filestore /usr/lib64/ghc-6.10.1/./package.conf: ~/.ghc/x86_64-linux-6.10.1/package.conf: filestore-0.2, filestore-0.3.2, filestore-0.3.3 $ ghc-pkg list parsec /usr/lib64/ghc-6.10.1/./package.conf: parsec-2.1.0.1, parsec-3.0.0 $ cabal --version cabal-install version 0.6.2 using version 1.6.0.2 of the Cabal library Have you seen this before? I hope I overlooked something trivial... =) -- vi On Thu, Nov 19, 2009 at 12:57 PM, Bayley, Alistair alistair.bay...@invesco.com wrote: From: haskell-cafe-boun...@haskell.org [mailto:haskell-cafe-boun...@haskell.org] On Behalf Of S. Doaitse Swierstra How about: http://hackage.haskell.org/package/orchid a simple, but nice wiki produced by one of our students Sebastiaan Visser, You can see it in action here: http://funct.org/wiki/ http://funct.org/wiki/#Building%20a%20Wiki%20in%20Haskell.html Alistair * Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. * ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Wiki software?
On Sat, Nov 21, 2009 at 11:14 AM, Vladimir Ivanov vladimir.v.iva...@gmail.com wrote: I decided to give orchid a try, but failed to install the latest version (0.0.8) using cabal. The reason is that one of the dependencies (filestore) depends on parsec-2.0.* and orchid requires parsec3. I installed filestore-0.2 separately, but nothing changed. $ cabal install orchid Resolving dependencies... cabal: cannot configure filestore-0.2. It requires parsec ==2.* For the dependency on parsec ==2.* there are these packages: parsec-2.0, parsec-2.1.0.0 and parsec-2.1.0.1. However none of them are available. parsec-2.0 was excluded because orchid-0.0.8 requires parsec ==3.0.* parsec-2.1.0.0 was excluded because orchid-0.0.8 requires parsec ==3.0.* parsec-2.1.0.1 was excluded because orchid-0.0.8 requires parsec ==3.0.* $ ghc-pkg list filestore /usr/lib64/ghc-6.10.1/./package.conf: ~/.ghc/x86_64-linux-6.10.1/package.conf: filestore-0.2, filestore-0.3.2, filestore-0.3.3 $ ghc-pkg list parsec /usr/lib64/ghc-6.10.1/./package.conf: parsec-2.1.0.1, parsec-3.0.0 $ cabal --version cabal-install version 0.6.2 using version 1.6.0.2 of the Cabal library Have you seen this before? I hope I overlooked something trivial... =) -- vi Apparently you can build filestore with parsec-3 if you want. Data/FileStore/Git.hs doesn't seem to use any of the functionality that changed between 2 3. I swapped the dep: hunk ./filestore.cabal 35 - parsec = 2 3, process, time, datetime, regex-posix, xml, split, Diff + parsec = 3, process, time, datetime, regex-posix, xml, split, Diff Configured, noticing what parsec was being used: Dependency parsec =3: using parsec-3.0.0 Built installed successfully. -- gwern ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: Wiki software?
+++ Gwern Branwen [Nov 21 09 11:38 ]: On Sat, Nov 21, 2009 at 11:14 AM, Vladimir Ivanov vladimir.v.iva...@gmail.com wrote: I decided to give orchid a try, but failed to install the latest version (0.0.8) using cabal. The reason is that one of the dependencies (filestore) depends on parsec-2.0.* and orchid requires parsec3. I installed filestore-0.2 separately, but nothing changed. $ cabal install orchid Resolving dependencies... cabal: cannot configure filestore-0.2. It requires parsec ==2.* For the dependency on parsec ==2.* there are these packages: parsec-2.0, parsec-2.1.0.0 and parsec-2.1.0.1. However none of them are available. parsec-2.0 was excluded because orchid-0.0.8 requires parsec ==3.0.* parsec-2.1.0.0 was excluded because orchid-0.0.8 requires parsec ==3.0.* parsec-2.1.0.1 was excluded because orchid-0.0.8 requires parsec ==3.0.* $ ghc-pkg list filestore /usr/lib64/ghc-6.10.1/./package.conf: ~/.ghc/x86_64-linux-6.10.1/package.conf: filestore-0.2, filestore-0.3.2, filestore-0.3.3 $ ghc-pkg list parsec /usr/lib64/ghc-6.10.1/./package.conf: parsec-2.1.0.1, parsec-3.0.0 $ cabal --version cabal-install version 0.6.2 using version 1.6.0.2 of the Cabal library Have you seen this before? I hope I overlooked something trivial... =) -- vi Apparently you can build filestore with parsec-3 if you want. Data/FileStore/Git.hs doesn't seem to use any of the functionality that changed between 2 3. I swapped the dep: hunk ./filestore.cabal 35 - parsec = 2 3, process, time, datetime, regex-posix, xml, split, Diff + parsec = 3, process, time, datetime, regex-posix, xml, split, Diff Configured, noticing what parsec was being used: Dependency parsec =3: using parsec-3.0.0 Built installed successfully. This is a bit of a problem. gitit requires parsec = 2 3, so gitit needs filestore to depend on parsec-2. The reason why is that pandoc depends on parsec-2, and the reason pandoc depends on parsec-2 is that parsec-2 is significantly faster than parsec-3. (I've verified this with several benchmarks, and so have others.) John ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Wiki software?
On Nov 18, 2009, at 6:14 PM, Günther Schmidt wrote: And am going to use a wiki for it. Does there a good one exist that's written in Haskell? Not Haskell, but here is a simple one in Lua, Nanoki: http://svr225.stepx.com:3388/nanoki ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Haskell Weekly News: Issue 140 - November 22, 2009
--- Haskell Weekly News http://sequence.complete.org/hwn/20091122 Issue 140 - November 22, 2009 --- Welcome to issue 140 of HWN, a newsletter covering developments in the [1]Haskell community. Apologies for the somewhat late edition, I got back late from the NES/MAA conference yesterday in Springfield, MA, and was generally too exhausted from all the math competing and giving of talks that HWN could not compete with the appeal of sleeping... This week there was a new edition of the HCAR, plenty of good discussion about Iteratee's and the Type Directed Name Resolution proposal, altogether a busy week. So here it is, your Haskell Weekly News! Announcements [BostonHaskell] Next meeting: November 24th at MIT (32-G882). Ravi Nanavati [2]announced the next meeting of BAHUG. Haskell Communities and Activities Report (17th ed., November 2009). Janis Voigtlaender [3]announced the new edition of the Haskell Communities and Activities Report. Call for Participation - PEPM'10 (co-located with POPL'10). Janis Voigtlaender [4]announced a call for participation for PEPM 2010. LambdaCube engine and Bullet physics binding. Csaba Hruska [5]announced a binding to the LambdaCube and Bullet engines. ICFP '10: Second call for workshop proposals. Wouter Swierstra [6]announced a second call for workshop proposals for ICFP 2010. deepseq-1.0.0.0. Simon Marlow [7]announced version 1.0.0.0 of `deepseq` wcwidth-0.0.1. Jason Dusek [8]announced a small package which provides binding to wchar.h, which assigns a column width to unicode characters. gnome-keyring 0.1 (bindings to libgnome-keyring). John Millikin [9]announced a set of bindings to the GNOME keyring libraries. attempt. Michael Snoyman [10]announced a new release of the `attempt` package. control-monad-failure and safe-failure. Michael Snoyman [11]also announced a new version of `control-monad-failure` and `safe-failure`. Announcing the GHC Bug Sweep. Simon Marlow [12]announced the GHC bug sweep, to help weed out the GHC Trac of old bugs, and also to get warm fuzzy feelings from helping everyone's favorite compiler devs. New Industrial Haskell Group membership options. Duncan Coutts [13]announced some new membership options for the the Industrial Haskell Group (IHG) bindings-SDL 1.0.2, the domain specific language for FFI description. Mauricio Antunes [14]announced a new version of the bindings-SDL package. wxHaskell 0.12.1.2. Jeremy O'Donoghue [15]announced a release of the wxHaskell package, including new improved support for installation via cabal on any system, with only a minor caveat on Windows. TFP 2010 - Call for Papers. TFP 2010 [16]announced a call for papers for TFP 2010, the 11th symposium on Trends in Functional Programming. Reminder: Fun in the afternoon, MSR Cambridge, 26 Nov. Simon Marlow [17]announced a final reminder for the `Fun in the Afternoon` meeting, which will be at MSR Cambridge on the 26th of November (ED: Thanksgiving for us Americans, if only there were some way to combine turkey-oriented gluttony with Functional programming...). Job at the University of Technology in Cottbus. Wolfgang Jeltsch [18]announced a job opening at the University of Technology in Cottbus. Scottish Category Theory Seminar. Conor McBride [19]announced the first meeting of Scottish Category Theory Seminar, a forum for discussion of all aspects of Category Theory, be they pure or applied. (ED: I am fighting very hard to not make some sort of Braveheart Joke...) Discussion Iteratee question. Valery V. Vorotyntsev [20]asked about using iteratee's in his binary data parser code. Haskell as an alternative to Java. Philippos Apolinarius [21]wondered whether Haskell would make for a good Java alternative. Status of TypeDirectedNameResolution proposal? Levi Greenspan [22]asked about the status of the TDNR proposal. Typef*ck: Brainf*ck in the type system. Johnny Morrice [23]showed us his implementation of everyone's favorite profane programming language... in the type system. Could someone teach me why we use Data.Monoid? Magicloud Magiclouds [24]requested some insight to why we use monoids so much in Haskell, leading to a fantastic discussion of all the myriad places Monoids pop up in both Haskell and in Math in general. Blog noise [25]Haskell news from the [26]blogosphere. Blog posts from people new to the Haskell community are marked with , be sure to welcome them! * Neil Brown: [27]The Operators and Monoids of CHP. * Philip Wadler: [28]A list is an odd creature, take 2. * Darcs: [29]darcs hacking sprint 3 report. * Mikael Vejdemo Johansson (Syzygy-): [30][MATH198] Lecture 9 posted
[Haskell-cafe] Haskell Hackathon in Boston January 29th-31st?
After all of the fun I had at Hac Phi, I've been thinking for a while that it would be fun to organize a Boston hackathon (to have all of the hackathon fun without the long drive). After some recent chats with my MIT friends, it seems like the weekend just after IAP (January 29th-January 31st) might be a good one. I've created a page to start organizing this hackathon (which I'm calling HacBOS unless someone comes up with a catchier name) here: http://www.haskell.org/haskellwiki/HacBOS If you'd be interested in attending a Boston hackathon, please add yourself to the possible attendees list on that page. If the proposed weekend does NOT work for you, but you're still interested in attending a Boston hackathon please indicate what other weekends during MIT's IAP (January 4th-January 29th) might work for you. I'm looking forward to making HacBOS happen! Thanks, - Ravi Nanavati ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell as an alternative to Java
On 18/11/09 11:54, Philippos Apolinarius wrote: I wonder whether the Haskell community tryed to reproduce the study Lisp as an alternative to Java, by Ron Garret / Erann Gat. Sort of. See http://www.haskell.org/haskellwiki/Phone_number Paul. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: Wiki software?
On Sat, Nov 21, 2009 at 1:13 PM, John MacFarlane j...@berkeley.edu wrote: +++ Gwern Branwen [Nov 21 09 11:38 ]: On Sat, Nov 21, 2009 at 11:14 AM, Vladimir Ivanov vladimir.v.iva...@gmail.com wrote: I decided to give orchid a try, but failed to install the latest version (0.0.8) using cabal. The reason is that one of the dependencies (filestore) depends on parsec-2.0.* and orchid requires parsec3. I installed filestore-0.2 separately, but nothing changed. $ cabal install orchid Resolving dependencies... cabal: cannot configure filestore-0.2. It requires parsec ==2.* For the dependency on parsec ==2.* there are these packages: parsec-2.0, parsec-2.1.0.0 and parsec-2.1.0.1. However none of them are available. parsec-2.0 was excluded because orchid-0.0.8 requires parsec ==3.0.* parsec-2.1.0.0 was excluded because orchid-0.0.8 requires parsec ==3.0.* parsec-2.1.0.1 was excluded because orchid-0.0.8 requires parsec ==3.0.* $ ghc-pkg list filestore /usr/lib64/ghc-6.10.1/./package.conf: ~/.ghc/x86_64-linux-6.10.1/package.conf: filestore-0.2, filestore-0.3.2, filestore-0.3.3 $ ghc-pkg list parsec /usr/lib64/ghc-6.10.1/./package.conf: parsec-2.1.0.1, parsec-3.0.0 $ cabal --version cabal-install version 0.6.2 using version 1.6.0.2 of the Cabal library Have you seen this before? I hope I overlooked something trivial... =) -- vi Apparently you can build filestore with parsec-3 if you want. Data/FileStore/Git.hs doesn't seem to use any of the functionality that changed between 2 3. I swapped the dep: hunk ./filestore.cabal 35 - parsec = 2 3, process, time, datetime, regex-posix, xml, split, Diff + parsec = 3, process, time, datetime, regex-posix, xml, split, Diff Configured, noticing what parsec was being used: Dependency parsec =3: using parsec-3.0.0 Built installed successfully. This is a bit of a problem. gitit requires parsec = 2 3, so gitit needs filestore to depend on parsec-2. The reason why is that pandoc depends on parsec-2, and the reason pandoc depends on parsec-2 is that parsec-2 is significantly faster than parsec-3. (I've verified this with several benchmarks, and so have others.) John This doesn't surprise me; but how much slower are we talking? If it's not at the point that a browser of a Gitit wiki could notice the difference, then it seems to me that the dep ought to be loosened: the parsec/quickcheck/base diamond dependency problem is one of the worst ones a user can run into, the hardest to resolve, and one that can arise in the course of ordinary safe use of Haskell. -- gwern ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] haskell code from hi
Is there possibly a way of getting source code, given a *.hi file? Yes you're right I deleted all my *.hs files, while trying to remove *.hi ones!! Desperately, -- Ozgur Akgun ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] haskell code from hi
Ouch... my condolences, but I think you're screwed. I think the .hi files are purely interface info, and the .o files have all the info on what to actually do (and getting to .hs files from .hi+.o is gonna be like going from sausage to pig, in any case). If you haven't messed with the disk, I think your best bet might be to try and undelete files. That might be as messy as looking at the raw disk image and trying to recover disk sectors, or possibly there are still entire files there that are just not referenced by directory entries. Either (or any) way, it's a bit chancy... Uwe On 11/21/09, Ozgur Akgun ozgurak...@gmail.com wrote: Is there possibly a way of getting source code, given a *.hi file? Yes you're right I deleted all my *.hs files, while trying to remove *.hi ones!! Desperately, -- Ozgur Akgun ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] How to understand such a newtype ?
newtype X a = X (ReaderT XConf (StateT XState IO) a) #ifndef __HADDOCK__ deriving (Functor, Monad, MonadIO, MonadState XState, MonadReader XConf, Typeable) #endif In `X (ReaderT XConf (StateT XState IO) a)`, X is a type constructor, how to understand `(ReaderT XConf (StateT XState IO) a)` ? And why use `#ifndef __HADDOCK__` ? Sincerely! - fac n = foldr (*) 1 [1..n] -- View this message in context: http://old.nabble.com/How-to-understand-such-a-newtype---tp26462332p26462332.html Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] How to understand such a newtype ?
On Sat, Nov 21, 2009 at 06:20:40PM -0800, zaxis wrote: newtype X a = X (ReaderT XConf (StateT XState IO) a) #ifndef __HADDOCK__ deriving (Functor, Monad, MonadIO, MonadState XState, MonadReader XConf, Typeable) #endif In `X (ReaderT XConf (StateT XState IO) a)`, X is a type constructor, how to understand `(ReaderT XConf (StateT XState IO) a)` ? Well, “ReaderT XConf (StateT XState IO) a” is *the* type :). It's a monad that is a Reader of XConf and has a State of XState. This means you can use, for example, ask :: X XConf and get :: X XState And why use `#ifndef __HADDOCK__` ? Because Haddock used to have difficulties in processing some directives, like that “deriving (..., MonadState XState, ...)” which is part of the GeneralizedNewtypeDeriving extension. HTH, -- Felipe. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] What's wrong with code.haskell.org ?
Hi all, I can't use `darcs get --partial http://code.haskell.org/gtk2hs/` to get source code, and can't push patch. What's wrong with code.haskell.org? Rest for weekend? :) -- Andy ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] What's wrong with code.haskell.org ?
code.h.o and community.h.o have rather flaky hosting, and have been going down often recently. The only solution seems to be waiting until the admins notice. On Sat, Nov 21, 2009 at 18:31, Andy Stewart lazycat.mana...@gmail.com wrote: Hi all, I can't use `darcs get --partial http://code.haskell.org/gtk2hs/` to get source code, and can't push patch. What's wrong with code.haskell.org? Rest for weekend? :) -- Andy ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] How to understand such a newtype ?
thanks ! Felipe Lessa wrote: On Sat, Nov 21, 2009 at 06:20:40PM -0800, zaxis wrote: newtype X a = X (ReaderT XConf (StateT XState IO) a) #ifndef __HADDOCK__ deriving (Functor, Monad, MonadIO, MonadState XState, MonadReader XConf, Typeable) #endif In `X (ReaderT XConf (StateT XState IO) a)`, X is a type constructor, how to understand `(ReaderT XConf (StateT XState IO) a)` ? Well, “ReaderT XConf (StateT XState IO) a” is *the* type :). It's a monad that is a Reader of XConf and has a State of XState. This means you can use, for example, ask :: X XConf and get :: X XState And why use `#ifndef __HADDOCK__` ? Because Haddock used to have difficulties in processing some directives, like that “deriving (..., MonadState XState, ...)” which is part of the GeneralizedNewtypeDeriving extension. HTH, -- Felipe. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe - fac n = foldr (*) 1 [1..n] -- View this message in context: http://old.nabble.com/How-to-understand-such-a-newtype---tp26462332p26462674.html Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe