Re: [Haskell-cafe] hsql won't install due to system.time

2010-01-21 Thread Malcolm Wallace
On 21 Jan 2010, at 06:10, Brian Denheyer wrote: Database/HaskellDB/HSQL.hs:25:7: Could not find module `System.Time': it is a member of the hidden package `old-time-1.0.0.3' it is a member of the hidden package `old-time-1.0.0.2' Suggestions on how to fix this ... The easiest

[Haskell-cafe] Haskell Platform

2010-01-21 Thread Rafael Gustavo da Cunha Pereira Pinto
Hi folks, How are the efforts on Haskell Platform for GHC 6.12.1 going? I'm considering joining those brave heroes. Where can I apply? Rafael Gustavo da Cunha Pereira Pinto ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] hsql won't install due to system.time

2010-01-21 Thread Marc Weber
Hi Brian hsql is compatibel with most recent ghc yet. You can get patches for the .cabal files here: http://github.com/MarcWeber/haskell-nix-overlay/tree/master/patches/ However the Exception handling has to be rewritten as well. I wanted to fix this issues for weeks - No time. Let me know if

[Haskell-cafe] GUI: Custom widgets - wxHaskell or gtk2hs ?

2010-01-21 Thread Günther Schmidt
Hi, I need to create a custom widget and I wonder which of the above gui-toolkits makes that easier. Günther ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Haskell Platform

2010-01-21 Thread Ozgur Akgun
And for Mac as well, please :) 2010/1/21 Rafael Gustavo da Cunha Pereira Pinto rafaelgcpp.li...@gmail.com Hi folks, How are the efforts on Haskell Platform for GHC 6.12.1 going? I'm considering joining those brave heroes. Where can I apply? Rafael Gustavo da Cunha Pereira Pinto

Re: [Haskell-cafe] Haskell Platform

2010-01-21 Thread Alistair Bayley
How are the efforts on Haskell Platform for GHC 6.12.1 going? I'm considering joining those brave heroes. Where can I apply? Joining the mailing list would be a good place to start: http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform Alistair

[Haskell-cafe] haddock - 'could not find link destination

2010-01-21 Thread Andrew U. Frank
i try to use haddock for documentation, but have no success. no output is produced. i assume i make some stupid mistake (not having used haddock before) help is appreciated! thank you andrew --- i get the following error: $ haddock Hadtest2.hs Warning: Main: could

Re: [Haskell-cafe] haddock - 'could not find link destination

2010-01-21 Thread Daniel Fischer
Am Donnerstag 21 Januar 2010 14:51:20 schrieb Andrew U. Frank: i try to use haddock for documentation, but have no success. no output is produced. i assume i make some stupid mistake (not having used haddock before) help is appreciated! thank you andrew --- i

Re: [Haskell-cafe] hsql won't install due to system.time

2010-01-21 Thread Brian Denheyer
On Thu, 21 Jan 2010 11:36:42 +0100 Marc Weber marco-owe...@gmx.de wrote: Hi Brian hsql is compatibel with most recent ghc yet. Well I am using 6.10.4, so should I use a patched version, or simply apply the fixes which Malcolm provided ? You can get patches for the .cabal files here:

Re: [Haskell-cafe] HTML - based GUIs - follow up

2010-01-21 Thread Chris Eidhof
Formlets themselves don't require a server. You can use them from the commandline. However, formlets do have a limitation: they are not interactive. I would really like a library that does something like formlets (compositional web forms) but with a FRP-style of writing. A contrived example:

Re: [Haskell-cafe] hsql won't install due to system.time

2010-01-21 Thread Marc Weber
Hi Brian You _really_ don't want me working on anything, trust me. Hopefully some fine Haskell hacker who would also like to use hsql will volunteer. You make me smile. I learned Haskell for the same reason. Don't trust me but trust Haskell *kidding* If you want to work on it I can help you

Re: [Haskell-cafe] Extracting all pruned sub trees

2010-01-21 Thread Mark Lentczner
On Jan 20, 2010, at 10:09 AM, Tom Hawkins wrote: I'm looking for an elegant way to generate a list of all pruned trees where each pruned tree has one of its leaves removed. This turned out to be a thornier problem than I thought! (pun intended) -- | A simple Tree type. data Tree a = Leaf a

[Haskell-cafe] problems installing ghc-6.12.1-x86_64

2010-01-21 Thread Andrew Polonsky
Dear all, Help!! I am trying to build 6.12 on a fresh 64-bit Ubuntu, with no GHC installed yet. The compiler itself builds happily, but when I try to make install the Haskell platform, I eventually get the error Setup: GLUT-2.1.1.2: dependency OpenGL-2.2.1.1-b638210d1627880d532e3b035b53bcd2

Re: [Haskell-cafe] problems installing ghc-6.12.1-x86_64

2010-01-21 Thread Ivan Lazar Miljenovic
Andrew Polonsky andrew.polon...@gmail.com writes: Help!! I am trying to build 6.12 on a fresh 64-bit Ubuntu, with no GHC installed yet. The compiler itself builds happily, but when I try to make install the Haskell platform, I eventually get the error The Haskell Platform is currently for

Re: [Haskell-cafe] Iteratee wrapper for attoparsec

2010-01-21 Thread Gregory Collins
Gregory Collins g...@gregorycollins.net writes: John Lato jwl...@gmail.com writes: I don't know if I'd call it a hybrid, however there is a way to embed Parsec parsers (v.3 only) in iteratee. The necessary code is available at: http://inmachina.net/~jwlato/haskell/ParsecIteratee.hs This

Re: [Haskell-cafe] Extracting all pruned sub trees

2010-01-21 Thread Tom Hawkins
On Thu, Jan 21, 2010 at 4:07 PM, Mark Lentczner ma...@glyphic.com wrote: On Jan 20, 2010, at 10:09 AM, Tom Hawkins wrote: I'm looking for an elegant way to generate a list of all pruned trees where each pruned tree has one of its leaves removed. This turned out to be a thornier problem than I

[Haskell-cafe] state of High Level GUI libs?

2010-01-21 Thread Günther Schmidt
Hello, what is the current state of the higher GUI libs with reference to usability? Günther ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Haskell Platform

2010-01-21 Thread Don Stewart
RafaelGCPP.Linux: Hi folks, How are the efforts on Haskell Platform for GHC 6.12.1 going? I'm considering joining those brave heroes. Where can I apply? There'll be a time table update in the next few days, but you can certainly help by attempting to build things. -- Don

[Haskell-cafe] OT: How a Common Lisp user views other programming languages

2010-01-21 Thread Scott Michel
Off topic, but funny: http://kvardek-du.kerno.org/2010/01/how-common-lisp-programmer-views-users.html The Haskell icon is very apt! -scooter ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Haskell on Ideone!

2010-01-21 Thread Sphere Research Labs
Hi, test Haskell on ideone.com, see the example: http://ideone.com/bbloQ9r0 regards, Ideone Team ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Haskell on Ideone!

2010-01-21 Thread John Van Enk
Seems a little dangerous: http://ideone.com/XL6uLnLo On Thu, Jan 21, 2010 at 8:25 PM, Gwern Branwen gwe...@gmail.com wrote: On Thu, Jan 21, 2010 at 8:02 PM, Sphere Research Labs cont...@sphere-research.com wrote: Hi, test Haskell on ideone.com, see the example:

Re: [Haskell-cafe] Web application interface

2010-01-21 Thread Michael Snoyman
Hey Jeremy, I was just wondering: how does Happstack deal with gzip encoding when it uses sendfile? I can think of a few ways (cache gziped versions to the disk), but was wondering if you'd already come up with a good solution. I'm trying to keep all these things in mind when designing WAI.

[Haskell-cafe] Is Haskell capable of matching C in string processing performance?

2010-01-21 Thread John Millikin
Recently I've been working on a library for generating large JSON[1] documents quickly. Originally I started writing it in Haskell, but quickly encountered performance problems. After exhausting my (meager) supply of optimization ideas, I rewrote some of it in C, with dramatic results. Namely, the

Re: [Haskell-cafe] Is Haskell capable of matching C in string processing performance?

2010-01-21 Thread Don Stewart
jmillikin: Here's the fastest Haskell version I could come up with. It discards all error handling, validation, and correctness in the name of performance, but still can't get anywhere near C: http://hpaste.org/fastcgi/hpaste.fcgi/view?id=16423 Thanks for posting the code. You're not using

Re: [Haskell-cafe] hsql won't install due to system.time

2010-01-21 Thread Brian Denheyer
On Thu, 21 Jan 2010 09:01:01 + Malcolm Wallace malcolm.wall...@cs.york.ac.uk wrote: The easiest workaround is to change your local copy of the .cabal file for hsql, modifying the build-depends line to make a more precise dependency on old-time, e.g. build-depends: old-time-1.0.0.2

[Haskell-cafe] Spelling checker exercise

2010-01-21 Thread Matthew Phillips
Hello all, sorry to bring up an old chestnut, but I’m trying to improve my Haskell-fu by writing a small program, and chose Peter Norvig’s spelling checker as my exercise material (http://norvig.com/spell-correct.html). While I’ve gotten it working, and found it quite illuminating, I also

[Haskell-cafe] Cannot rebuild GHC 6.12.1 due to Cabal type conflict

2010-01-21 Thread James Britt
Hey all. I recently wanted to rebuild GHC 6.12.1 from source (from a downloaded tarball). After the first install from that source I went and updated Cabal (from a tarball grabbed from Hackage). When I now try to do a rebuild of GHC, I get this error compiler/main/Packages.lhs:233:63: