Re: space in making 6.10.1-candidate

2008-10-09 Thread Thomas Schilling
Yes, the problem is a space leak in Haddock. On a 32 bit system it takes up to 700MB of RAM. You should probably disable haddock for now. David Waern is working on a fix, but I don't know how long it'll take him. 2008/10/9 Serge D. Mechveliani [EMAIL PROTECTED]: Another point in testing

Re: Control.Exception

2008-10-07 Thread Thomas Schilling
2008/10/7 Johannes Waldmann [EMAIL PROTECTED]: with 6.10, the following does not typecheck: foo `Control.Exception.catch` \ _ - return bar Ambiguous type variable `e' in the constraint: `Control.Exception.Exception e' catch \(e :: SomeException) - ... This requires language

Re: [Haskell-cafe] Darcs / Git

2008-10-07 Thread Thomas Schilling
GHC uses http://darcs.haskell.org/bin/darcs-to-git which is a fork of http://github.com/purcell/darcs-to-git It's not very fast, but it works well enough. I tried tailor only briefly but it failed on its own test suite and I didn't bother to investigate any further. 2008/10/6 Dominic Steinitz

Re: [Haskell-cafe] Parsec and network data

2008-08-30 Thread Thomas Schilling
There's a whole bunch of other problems with lazy network IO. The big problem is that you cannot detect when your stream ends since that will happen inside unsafeInterleaveIO which is invisible from inside pure code. You also have no guarantee that the lazy code actually consumes code enough.

Re: Version control systems

2008-08-15 Thread Thomas Schilling
On Fri, Aug 15, 2008 at 4:38 PM, Ian Lynagh [EMAIL PROTECTED] wrote: One way that it is worse is that you will get a lot more automatic merge commits when you pull changes from the central repo into a repo in which you have local commits. I don't think that there is anything bad about these,

Re: Version control systems

2008-08-15 Thread Thomas Schilling
If you have lots of local changes (e.g. the sorts of long-running branch that gives darcs 1 problems), then you need to use merge. If you use rebase then you might end up with lots of conflicts to manually resolve. Using merge gives you automatic merge commits, If you think these are ugly

Re: Version control systems

2008-08-15 Thread Thomas Schilling
you don't use local branches? On Sat, Aug 16, 2008 at 12:04 AM, Johan Tibell [EMAIL PROTECTED] wrote: On Fri, Aug 15, 2008 at 4:38 PM, Ian Lynagh [EMAIL PROTECTED] wrote: One way that it is worse is that you will get a lot more automatic merge commits when you pull changes from the central

Re: Version control systems

2008-08-14 Thread Thomas Schilling
Are you advocating for ease of use by new developers or for existing developers? Current GHC hackers have to learn Git anyways and know Darcs already. Library patches still have to be recorded separately, so it would be a bit weird, but not much harder, really. On Fri, Aug 15, 2008 at 1:59 AM,

Re: [Haskell-cafe] Re: Is www.haskell.org down?

2008-08-14 Thread Thomas Schilling
Don't feed the (incredibly obvious) troll. He's doing no-one any good--not even to the O'Caml community. Haskell can learn from O'Caml, O'Caml can learn from Haskell. I also think that most users of either language actually know that. On Thu, Aug 14, 2008 at 10:20 PM, Don Stewart [EMAIL

Re: Faster checkout times under Git

2008-08-12 Thread Thomas Schilling
On 11 Aug 2008, at 23:15, Don Stewart wrote: Eric Mertens kindly did some experiments on the various git repos, and servers, and approaches to serving. * We're looking at 45 mins for a full history darcs get of ghc, over http, from darcs.haskell.org. * git clone of full ghc over http, from

Re: Version control systems

2008-08-11 Thread Thomas Schilling
On 11 Aug 2008, at 12:38, Sittampalam, Ganesh wrote: Thomas Schilling wrote: (I am also no longer convinced that Darcs' automatic patch dependency calculations are actually a good idea. Just because two patches don't touch the same files, doesn't mean they aren't semantically dependent

Re: Version control systems

2008-08-11 Thread Thomas Schilling
On 11 Aug 2008, at 13:00, Duncan Coutts wrote: It's not clear to me that we've really bothered to find out. The last evaluation in relation to ghc that I'm aware of was prior to the 2.0 release. My impression is that we've all complained about the darcs v1 problems (justly) but spent the most

Re: Version control systems

2008-08-10 Thread Thomas Schilling
I had my share of problems with Darcs; working on the GHC API I constantly have to avoid conflicts. My temporary workaround is to not update at all. Maybe switching to Darcs 2 format would help here, but there are other issues. I initially converted GHC to Git to be able to more easily

Re: Version control systems

2008-08-06 Thread Thomas Schilling
On 6 Aug 2008, at 12:35, Samuel Tardieu wrote: Simon == Simon Marlow [EMAIL PROTECTED] writes: Simon We already have an up-to-date git mirror thanks to Thomas Simon Schilling: Simongit clone http://darcs.haskell.org/ghc.git Simon (notice how fast that is :-) It would be even much

Re: [Haskell-cafe] How can I get the mutable array out of an IOUArray for FFI use?

2008-08-02 Thread Thomas Schilling
Maybe you can rewrite your code using the functions from this module: http://haskell.org/ghc/docs/latest/html/libraries/array/Data-Array- Storable.html On 29 Jul 2008, at 09:22, Ryan Ingram wrote: I wrote some fast bit-twiddling functions in C because my Haskell performance wasn't good

Re: [Haskell-cafe] [ANNOUNCE] git-darcs-import 0.1

2008-06-02 Thread Thomas Schilling
On 1 jun 2008, at 20.44, Bertram Felgenhauer wrote: Hi, I'm pleased to announce yet another tool for importing darcs repositories to git. Unlike darcs2git [1] and darcs-to-git [2], it's written in Haskell, on top of the darcs2 source code. The result is a much faster program - it can

Re: [Haskell-cafe] Damnit, we need a CPAN.

2008-06-02 Thread Thomas Schilling
On 29 maj 2008, at 18.13, Don Stewart wrote: Hackage and Cabal are nice, but a command line tool for automatically searching Hackage and installing Hackage packages (like the cpan program, or easy_install) would be nice. Unless I haven't done my homework and this tool exists... This tool

[Haskell-cafe] Re: GHC API GSoc project (was: ANN: Haddock version 2.1.0)

2008-05-15 Thread Thomas Schilling
Thanks a lot for your comprehensive response, Claus! Per your suggestion, I started a GHC wiki page at http:// hackage.haskell.org/trac/ghc/wiki/GhcApiStatus. I added your comments and I will continue to add more things as I find them. I am closely following the Yi project and I am aware

Re: [Haskell-cafe] [GSoC] WWW::Mechanize-like package for Haskell

2008-04-07 Thread Thomas Schilling
On 7 apr 2008, at 14.46, Max Desyatov wrote: Hi, I'm interested in working on a library for a stateful web browsing in Haskell during Google Summer of Code. The basic idea is described at http://hackage.haskell.org/trac/summer-of-code/ticket/1107. WWW::Mechanize is a ready to use library

Re: [Haskell-cafe] [GSoC] WWW::Mechanize-like package for Haskell

2008-04-07 Thread Thomas Schilling
On 7 apr 2008, at 15.36, Yitzchak Gale wrote: Max Desyatov wrote: I'm interested in working on a library for a stateful web browsing in Haskell during Google Summer of Code. Thomas Schilling wrote: Also, for a GSoC proposal you should try to convince the mentors, why your project

[Haskell] REMINDER: Next Hackathon (Hac4) starts in 4 days

2008-04-06 Thread Thomas Schilling
Hi Haskell Hackers! There are only 4 days left until the fourth Hackathon (http:// www.haskell.org/haskellwiki/Hac4) at Chalmers University in Gothenburg, Sweden. If you haven't registered, yet, please do so now! Registration deadline: Tuesday, April 8, 2008 To register, go to

[Haskell-cafe] REMINDER: Next Hackathon (Hac4) starts in 4 days

2008-04-06 Thread Thomas Schilling
Hi Haskell Hackers! There are only 4 days left until the fourth Hackathon (http:// www.haskell.org/haskellwiki/Hac4) at Chalmers University in Gothenburg, Sweden. If you haven't registered, yet, please do so now! Registration deadline: Tuesday, April 8, 2008 To register, go to

Re: [Haskell-cafe] FW: Haskell

2008-04-01 Thread Thomas Schilling
On 1 apr 2008, at 13.02, Bulat Ziganshin wrote: Hello Simon, Tuesday, April 1, 2008, 2:18:25 PM, you wrote: How can one answer the question--why choose Haskell over Scheme? 1. static typing with type inference - imho, must-be for production code development. as many haskellers said, once

Re: [Haskell-cafe] FW: Haskell

2008-04-01 Thread Thomas Schilling
On 2 apr 2008, at 00.27, Artem V. Andreev wrote: Needless to say that the outcome would differ drastically depending on which way we take. Right. Hence we try to answer Douglas' request in best faith to give him most useful answers. ___

Re: [Haskell-cafe] compilation succeeds -- execution fails

2008-03-28 Thread Thomas Schilling
Did you try removing all .hi and .o files? On 28 mar 2008, at 10.34, Jason Dusek wrote: I have a program here: https://svn.j-s-n.org/public/haskell/cedict currently at revision 302, which compiles okay but I can't get it to work. I'm using the FFI to take a (currently small)

Re: [Haskell-cafe] HTTP client libraries

2008-03-27 Thread Thomas Schilling
On 27 mar 2008, at 20.08, John Goerzen wrote: Hi folks, I was recently looking for HTTP client libraries for Haskell. I investigated several, and it seems that there aren't any really ready for primetime. Am I missing anything? Here's what I found: * Bjorn's String-based HTTP It eats

Re: [Haskell-cafe] doctest for haskell -- a good project?

2008-03-22 Thread Thomas Schilling
On 22 mar 2008, at 13.17, Neil Mitchell wrote: Hi One idea that does strike me is that it would be super useful to have the ability in ghci to extract the haddocks associated with a function. :doc map would result in: -- | 'map' @f xs@ is the list obtained by applying @f@ to

Re: [Haskell-cafe] Re: ANN: haskell-src-exts 0.3.2

2008-03-18 Thread Thomas Schilling
Do you have any program transformation DSL to make things easier? Or quickcheck tests or anything to make things easier? On 18 mar 2008, at 11.28, C.M.Brown wrote: Hi Nikolas, I supppose you're talking about HaRe, that Thomas Schilling linked to. I have no idea how that system is built

Re: [Haskell-cafe] Small question about something easy

2008-03-18 Thread Thomas Schilling
On 18 mar 2008, at 13.51, Luke Palmer wrote: On Tue, Mar 18, 2008 at 12:24 PM, iliali16 [EMAIL PROTECTED] wrote: Now the problem comes here: play (p1 :: p2) state |play p1 state == (i1,state1) play p2 state1 == (i2,state2) = (i1+++i2,state2) I know that if I manage to do

Re: [Haskell-cafe] Dynamic typing makes you more productive?

2008-03-18 Thread Thomas Schilling
On 18 mar 2008, at 19.47, Don Stewart wrote: jgbailey: From a recent interview[1] with the guy leading Ruby development on .NET at Microsoft: You spend less time writing software than you spend maintaining software. Optimizing for writing software versus maintaining software is probably

Re: [Haskell-cafe] QuickCheck

2008-03-17 Thread Thomas Schilling
On 17 mar 2008, at 14.37, rodrigo.bonifacio wrote: Hi all, Is it possible to define a limit for the size of children list bellow? I've tried: children - resize (10 (listGen featureGenNormal)) You are calling a number as a function. Also, listGen has to use the size argument. Try

Re: [Haskell-cafe] Re: ANN: haskell-src-exts 0.3.2

2008-03-17 Thread Thomas Schilling
On 17 mar 2008, at 23.53, Peter Verswyvelen wrote: Could this be used to add support for refactoring of source files containing language extensions? Because if I'm correct, the current most popular refactoring solution (I forgot the name) for Haskell does not support extensions. HaRe -

Re: [Haskell-cafe] [GSoC] A data parallel physics engine

2008-03-12 Thread Thomas Schilling
There's an effort going on to use techniques from Lava (the Haskell- based hardware description language) to target GPUs. Joel Svensson [1] has written his Master's thesis on this and is now working on this for his PhD, so if you ask kindly he might tell you more about this or send you the

Re: [Haskell-cafe] Connection helpers: for people interested in network code

2008-03-05 Thread Thomas Schilling
On 5 mar 2008, at 22.05, Bjorn Bringert wrote: There is some (dormant?) work on bringing HTTP into the age of the ByteString. Thomas Schilling (nominolo) might be able to tell you more about it. Well, I can say with certainty that I won't have the time nor energy to bring

Re: [Haskell-cafe] CABAL: conditional executable?

2008-03-04 Thread Thomas Schilling
executable foo main-is: bla if !os(windows): buildable: false Unfortunately this gives rather unhelpful error messages when used with flags, but it works well enough for now. / Thomas On 4 mar 2008, at 09.10, Magnus Therning wrote: I'm putting together a package consisting of 2

Re: [Haskell-cafe] CABAL: conditional executable?

2008-03-04 Thread Thomas Schilling
On 4 mar 2008, at 10.58, Magnus Therning wrote: Good point. Does CABAL 1.2 have support for multiple .cabal files in the same directory? If not then I'm not too happy with this solution. No. Eventually, Cabal will support something like this, but it's unlikely that Cabal 1.4 will.

Re: [Haskell-cafe] CABAL: conditional executable?

2008-03-04 Thread Thomas Schilling
On 4 mar 2008, at 11.37, Magnus Therning wrote: On 3/4/08, Thomas Schilling [EMAIL PROTECTED] wrote: executable foo main-is: bla if !os(windows): buildable: false Unfortunately this gives rather unhelpful error messages when used with flags, but it works well enough for now

Re: [Haskell-cafe] coerce (safe!)

2008-03-01 Thread Thomas Schilling
On 2 mar 2008, at 01.21, Krzysztof Skrzętnicki wrote: Well, it is simply coerce :: a - b coerce _ = undefined so coerce is simply empty function. But still, it is possible to write a function of type (a-b). Well, possibly I didn't write anything particularly new, but please excuse me

Re: [Haskell-cafe] Problem with Python AST

2008-02-26 Thread Thomas Schilling
On 22 feb 2008, at 17.31, Roel van Dijk wrote: Otherwise I need pattern matching at the type level to bind the reqLoop and reqFun type variables (is such a thing even possible?): Yep. You use type-classes. For some examples see [1]. [1] ..

Re: [Haskell-cafe] The Proliferation of List-Like Types

2008-02-22 Thread Thomas Schilling
On 22 feb 2008, at 08.18, Jules Bean wrote: Thomas Schilling wrote: On 21 feb 2008, at 18.35, Johan Tibell wrote: I switched from lazy bytestrings to a left fold in my networking code after reading what Oleg wrote about streams vs folds. No problems with handles, etc. anymore. Do you

Re: [Haskell-cafe] The Proliferation of List-Like Types

2008-02-21 Thread Thomas Schilling
On 21 feb 2008, at 15.26, Devin Mullins wrote: On Thu, Feb 21, 2008 at 10:21:50AM +, Duncan Coutts wrote: So I'm claiming that the single impl with boundary conversion gives us the best of both worlds, no code bloat due to specialisation and working with whichever string type you like,

Re: [Haskell-cafe] The Proliferation of List-Like Types

2008-02-21 Thread Thomas Schilling
On 21 feb 2008, at 18.35, Johan Tibell wrote: I switched from lazy bytestrings to a left fold in my networking code after reading what Oleg wrote about streams vs folds. No problems with handles, etc. anymore. Do you fold over chunks? Can you continue to use Parsek or other utilities

Re: [Haskell-cafe] Doubting Haskell

2008-02-17 Thread Thomas Schilling
On 17 feb 2008, at 08.46, Anton van Straaten wrote: Colin Paul Adams wrote: Cale == Cale Gibbard [EMAIL PROTECTED] writes: Cale So, the first version: Cale import System.IO import Control.Exception (try) Cale main = do mfh - try (openFile myFile ReadMode) case mfh Cale of

Re: [Haskell] ANNOUNCE: multiset 0.1

2008-02-12 Thread Thomas Schilling
(http://www.cs.utexas.edu/~EWD/ewd07xx/EWD786a.PDF, That would make for a nice script font :) Oh, wait, there is one already: http://lucacardelli.name/Fonts.htm ___ Haskell mailing list Haskell@haskell.org

Re: [Haskell-cafe] example packages that use Storable in Hackage ??

2008-02-11 Thread Thomas Schilling
Hm, there used to be an experimental search tool that could find packages by which packages they depended on. I can't find it, though, so I assume it has been removed in the meantime. On 11 feb 2008, at 22.28, Galchin Vasili wrote: Hello,

Re: [Haskell-cafe] building the unix package and cabal

2008-02-04 Thread Thomas Schilling
? I get a linker error .. unresolved symbol gmp. Vasili On 2/4/08, Thomas Schilling [EMAIL PROTECTED] wrote: Build-type: Configure means that *Cabal uses ./configure * to build the package. Nothing changes for you. Just use the usual: runhaskell Setup.hs configure --prefix

Re: [Haskell-cafe] building the unix package and cabal

2008-02-04 Thread Thomas Schilling
I don't know. Maybe someone on @cafe can help. (I CC'd) On Feb 4, 2008 5:22 PM, Galchin Vasili [EMAIL PROTECTED] wrote: I have the gmp shared objects installed, i.e. .so's. Does ghc require static linking with .a archive files? On 2/4/08, Thomas Schilling [EMAIL PROTECTED] wrote

Re: [Haskell-cafe] RE: [Haskell] Announce: Yi 0.3

2008-01-31 Thread Thomas Schilling
On Thu, 2008-01-31 at 15:23 +, Bayley, Alistair wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Philippe Bernardy * homepage: http://haskell.org/haskellwiki/Yi Took a quick look around and saw this: * GTK frontend works in Win32 So Yi works on

Re: [Haskell-cafe] Re: Why functional programming matters

2008-01-23 Thread Thomas Schilling
On Wed, 2008-01-23 at 15:42 -0800, Don Stewart wrote: catamorphism: On 1/23/08, Peter Hercek [EMAIL PROTECTED] wrote: Other things did not seem that great for me from the beginning. For example: referential transparency - just enforces what you can take care not to do yourself

Re: [Haskell-cafe] Yi and Data.ByteString

2008-01-21 Thread Thomas Schilling
On Mon, 2008-01-21 at 19:12 +0100, Cetin Sert wrote: 1) Can anyone tell me how I can build Yi or point me to a binary release of that editor? I tried to follow the instructions on http://www.nobugs.org/developer/yi/building.html but got a missing component error each time. You need

Re: [Haskell-cafe] New slogan for haskell.org

2007-11-28 Thread Thomas Schilling
On Tue, 2007-11-27 at 23:11 -0500, Sterling Clover wrote: On Nov 27, 2007, at 11:34 AM, David Fox wrote: In that case we need to identify all the groups that the front page is serving and create separate areas for each, all above the fold as it were: 1. A sales pitch for new

Re: [Haskell-cafe] Re: cabal-install

2007-11-28 Thread Thomas Schilling
On Wed, 2007-11-28 at 20:46 +0100, Ben Franksen wrote: Don Stewart wrote: ben.franksen: cabal: dist/Conftest.c: openFile: does not exist (No such file or directory) This one is due to having an out of date cabal. Upgrade to darcs cabal, then rebuild cabal-install, and things should

Re: [Haskell-cafe] New slogan for haskell.org

2007-11-28 Thread Thomas Schilling
I put up a draft page. Feel free to adjust it. http://haskell.org/haskellwiki/FrontpageDraft / Thomas ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] New slogan for haskell.org

2007-11-28 Thread Thomas Schilling
On Wed, 2007-11-28 at 21:02 +, Sebastian Sylvan wrote: On Nov 28, 2007 8:54 PM, Thomas Schilling [EMAIL PROTECTED] wrote: I put up a draft page. Feel free to adjust it. http://haskell.org/haskellwiki/FrontpageDraft Perhaps slightly OT, but while we're discussing the front page

Re: [Haskell-cafe] New slogan for haskell.org

2007-11-27 Thread Thomas Schilling
On Mon, 2007-11-26 at 20:31 -0800, David Fox wrote: On Nov 26, 2007 11:38 AM, Thomas Schilling [EMAIL PROTECTED] wrote: Haskell is a general-purpose, pure functional programming languages that puts many interesting results from research

Re: [Haskell-cafe] New slogan for haskell.org

2007-11-27 Thread Thomas Schilling
On Tue, 2007-11-27 at 09:44 -0500, David Menendez wrote: On Nov 26, 2007 1:44 PM, Thomas Davie [EMAIL PROTECTED] wrote: But the point is that this section of the site is the bit that's meant to be an advertisement -- we're trying to

Re: [Haskell-cafe] New slogan for haskell.org

2007-11-27 Thread Thomas Schilling
On Tue, 2007-11-27 at 08:34 -0800, David Fox wrote: On Nov 27, 2007 8:14 AM, Henning Thielemann [EMAIL PROTECTED] wrote: On Tue, 27 Nov 2007, Thomas Davie wrote: On 27 Nov 2007, at 14:44, David Menendez wrote: On Nov 26, 2007 1:44 PM,

Re: [Haskell-cafe] about GADTs on ghci

2007-11-27 Thread Thomas Schilling
On Tue, 2007-11-27 at 19:11 +, Andrew Coppin wrote: Luke Palmer wrote: You can also put the line {-# OPTIONS_GHC -fglasgow-exts #-} At the top, to turn on glasgow extensions whenever GHC compiles this file. I was under the impression that it's better to use the LANGUAGE

Re: [Haskell-cafe] New slogan for haskell.org

2007-11-26 Thread Thomas Schilling
On Thu, 2007-10-04 at 10:36 -0700, Don Stewart wrote: It was raised at CUFP today that while Python has: Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages

Re: [Haskell-cafe] Building MissingH on Windows

2007-11-26 Thread Thomas Schilling
On Mon, 2007-11-26 at 21:24 +0100, [EMAIL PROTECTED] wrote: Hi, I'm trying to build MissingH (0.18.6) on Windows, but it looks like (probably because of changes in Cabal) the Setup.hs is broken. Im using GHC 6.8.1. Following message: $ runhaskell Setup.hs configure Setup.hs:19:35:

Re: [Haskell-cafe] Building MissingH on Windows

2007-11-26 Thread Thomas Schilling
See also: http://haskell.org/haskellwiki/Upgrading_packages You probably have to adjust the build-depends field, due to the base split up. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Cabal and DB packages

2007-11-25 Thread Thomas Schilling
On Sun, 2007-11-25 at 18:49 +0100, manu wrote: Hello, I'm trying to do something that should be fairly simple, installing some DB package so I can use MySQL or SQLite. However I've had troubles building HSQL, HaskellDB and Takusen before giving up (I am using ghc 6.8.1 and

Re: [Haskell-cafe] Re: Composing monads

2007-11-23 Thread Thomas Schilling
On Fri, 2007-11-23 at 23:01 +0100, Roberto Zunino wrote: Maurí­cio wrote: main = mapM_ ((putStrLn ) * putStrLn) $ map show [1,2,3] Using only standard combinators: main = mapM_ ((putStrLn ) . putStrLn) $ map show [1,2,3] == mapM_ ((putStrLn ) . putStrLn . show) [1,2,3]

Re: [Haskell-cafe] Problems with do notation

2007-11-22 Thread Thomas Schilling
On Thu, 2007-11-22 at 09:19 +0100, Peter Verswyvelen wrote: worksFine = if True then putStrLn True else putStrLn False worksNOT = do if True then putStrLn True else putStrLn False worksAgain = do if True then putStrLn True else putStrLn False Of course the

Re: Re[2]: [Haskell-cafe] expanded standard lib

2007-11-21 Thread Thomas Schilling
On Wed, 2007-11-21 at 12:19 +0300, Bulat Ziganshin wrote: Hello Thomas, Tuesday, November 20, 2007, 6:35:00 PM, you wrote: Using DocBook, however, has some nice advantages. For example, the possibility to generate documentation in different formats. Something more easily accessible

Re: [Haskell-cafe] expanded standard lib

2007-11-20 Thread Thomas Schilling
On Tue, 2007-11-20 at 12:33 +, Krzysztof Kościuszkiewicz wrote: On Tue, Nov 20, 2007 at 08:55:47AM +, Simon Peyton-Jones wrote: But we're just not sure how to do it: * What technology to use? * Matching up the note-adding technology with the existing infrastructure - GHC's

Re: [Haskell-cafe] expanded standard lib

2007-11-20 Thread Thomas Schilling
On Tue, 2007-11-20 at 16:00 +0100, Ketil Malde wrote: Thomas Schilling [EMAIL PROTECTED] writes: I would advocate using a comment system that is similar to the one at http://djangobook.com/. I'm pretty sure Brian O'Sullivan has written a Haskell implementation of this for the Real

Re: [Haskell-cafe] expanded standard lib

2007-11-20 Thread Thomas Schilling
On Tue, 2007-11-20 at 12:03 -0800, Keith Fahlgren wrote: On 11/20/07 7:35 AM, Thomas Schilling wrote: On Tue, 2007-11-20 at 16:00 +0100, Ketil Malde wrote: Thomas Schilling [EMAIL PROTECTED] writes: I can all to easily imagine a situation where any documentation is riddled

Re: [Haskell-cafe] expanded standard lib

2007-11-19 Thread Thomas Schilling
On Mon, 2007-11-19 at 12:17 -0800, Don Stewart wrote: andrewcoppin: Hackage seems like a nice idea in principle. However, I think in practice too: we had no central lib archive or dependency system, now we have 400 libraries, and a package installer, 10 months later. Until Hackage,

Re: [Haskell-cafe] Fun with Cabal on Windows! [Stream fusion for Hackage]

2007-11-19 Thread Thomas Schilling
On Mon, 2007-11-19 at 20:29 +, Andrew Coppin wrote: Don Stewart wrote: Just a quick announce: the stream fusion library for lists, that Duncan Coutts, Roman Leshchinskiy and I worked on earlier this year is now available on Hackage as a standalone package:

Re: [Haskell-cafe] expanded standard lib

2007-11-19 Thread Thomas Schilling
On Mon, 2007-11-19 at 21:22 +, Andrew Coppin wrote: Where is the correct place for Cabal bugs? This and other questions are explained at .. *drumroll* .. the Cabal Homepage!! -- http://www.haskell.org/cabal/ :) ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Re: Scheme in Haskell, Parsec Example, how to add scheme comments

2007-11-18 Thread Thomas Schilling
On Sun, 2007-11-18 at 19:37 -0500, Berlin Brown wrote: On Nov 18, 2007 7:32 PM, Berlin Brown [EMAIL PROTECTED] wrote: I am sure many of you have looked at the scheme in haskell example that is on the web by Jonathan Tang. If you are familiar with the code, I need a little help trying to add

Re: [Haskell-cafe] let vs. where

2007-11-13 Thread Thomas Schilling
On Tue, 2007-11-13 at 13:08 -0800, Donn Cave wrote: On Tue, 13 Nov 2007, Neil Mitchell wrote: This depends on whether you are an expression style or declaration style programmer. http://www.haskell.org/haskellwiki/Declaration_vs._expression_style

Re: [Haskell-cafe] O'Reilly Real World Haskell book

2007-11-10 Thread Thomas Schilling
On Sat, 2007-11-10 at 17:50 -0600, Galchin Vasili wrote: Hello, What is the proposed table of contents for Real World Haskell? http://www.realworldhaskell.org/blog/2007/05/23/real-world-haskell-its-time/ as of May 2007 ___ Haskell-Cafe

Re: [Haskell-cafe] Disable echo in POSIX terminal

2007-11-09 Thread Thomas Schilling
On Fri, 2007-11-09 at 10:59 -0500, Taylor Venable wrote: Hello all, I've written a little Haskell program to get information from a MySQL database (great thanks to anybody reading this who works on HSQL, by the way) but I want to keep the user's password concealed, obviously. Currently I

Re: [Haskell-cafe] Flymake Haskell

2007-11-08 Thread Thomas Schilling
On Thu, 2007-11-08 at 12:57 +0900, Daisuke IKEGAMI wrote: Hello emacsen users, Here is a setting to check your Haskell code /on-the-fly/ with 'flymake-mode'. (require 'flymake) ;; flymake for Haskell (defun flymake-Haskell-init () (flymake-simple-make-init-impl

Re: [Haskell-cafe] About Fibonacci again...

2007-11-08 Thread Thomas Schilling
On Thu, 2007-11-08 at 00:56 +0100, [EMAIL PROTECTED] wrote: Don't shoot me... The last exchange with Andrew Bromage made me recall a homework which was given to some students by a particularly nasty teacher I happen to know. The question is to generate the whole infinite Rabbit Sequence

Re: [Haskell-cafe] Haskell performance question

2007-11-08 Thread Thomas Schilling
On Fri, 2007-11-09 at 00:51 +0600, Mikhail Gusarov wrote: Dan Piponi [EMAIL PROTECTED] writes: Even though 'n' is 10 times bigger in the C program it runs much faster than the Haskell program on my MacBook Pro with Haskell 6.6.1. I've tried lots of different combinations of flags that

Re: [Haskell-cafe] Building Haskell stuff on Windows

2007-11-08 Thread Thomas Schilling
On Thu, 2007-11-08 at 18:34 +, Andrew Coppin wrote: Neil Mitchell wrote: Windows and Haskell is not a well travelled route, but if you stray of the cuddly installer packages, it gets even worse. Is that why Cabal packages never ever install on Windows? Could you be more specific

Re: [Haskell-cafe] Haskell performance question

2007-11-08 Thread Thomas Schilling
On Thu, 2007-11-08 at 10:33 -0800, Dan Piponi wrote: I see lots of shootout examples where Haskell programs seem to perform comparably with C programs, but I find it hard to reproduce anything like those figures when testing with my own code. So here's a simple case: I have this C program:

Re: [Haskell-cafe] Haskell performance question

2007-11-08 Thread Thomas Schilling
On Thu, 2007-11-08 at 10:33 -0800, Dan Piponi wrote: I see lots of shootout examples where Haskell programs seem to perform comparably with C programs, but I find it hard to reproduce anything like those figures when testing with my own code. So here's a simple case: I have this C program:

Re: [Haskell-cafe] Haskell performance question

2007-11-08 Thread Thomas Schilling
On Thu, 2007-11-08 at 16:24 -0800, Stefan O'Rear wrote: On Thu, Nov 08, 2007 at 07:57:23PM +0100, Thomas Schilling wrote: $ ghc --make -O2 ghc-bench.hs and got: $ time ./ghc-bench 2.0e7 real0m0.714s user0m0.576s sys 0m0.132s $ time ./ghcbC

Re: [Haskell-cafe] hoogle broken?

2007-11-07 Thread Thomas Schilling
On Tue, 2007-11-06 at 19:20 -0800, Michael Vanier wrote: It looks as if hoogle isn't working. I get 404s whenever I try to do any search on hoogle. Mike Yes, that's because the ghc-docs now have been slightly reorganized. Neil said he's working on it.

Re: [Haskell-cafe] type/class question: toString

2007-11-06 Thread Thomas Schilling
On Tue, 2007-11-06 at 09:18 -0500, Graham Fawcett wrote: Hi folks, Is there a way to declare a 'toString' function, such that toString x | x is a String = x toString x | x's type is an instance of Show = show x Perhaps, in the type system, there's a way to declare a ToString class, and

Re: [Haskell-cafe] FP design

2007-11-06 Thread Thomas Schilling
On Tue, 2007-11-06 at 10:32 +1030, Levi Stephen wrote: Hi, I'm was wondering how most people work during when designing a functional program. Do you create data structures/types first? Do you work from some type signatures? As others have mentioned: both. But there's a third thing that

Re: [Haskell-cafe] viewing HS files in Firefox

2007-10-27 Thread Thomas Schilling
On Sat, 2007-10-27 at 18:48 -0400, Isaac Dupree wrote: When I try to go to one of the Module.hs files, e.g. on darcs.haskell.org, it now has type HS and Firefox refuses to display it (and only lets me download it). Does anyone know how to make Firefox treat certain file types as others (HS

Re: [Haskell-cafe] Manual constructor specialization

2007-10-09 Thread Thomas Schilling
On Tue, 2007-10-09 at 17:40 +0200, Johan Tibell wrote: On 10/9/07, David Benbennick [EMAIL PROTECTED] wrote: On 10/9/07, Johan Tibell [EMAIL PROTECTED] wrote: data Rope = Empty | Leaf | Node !Rope !Rope The point is that Empty can only appear at the top by

Re: [Haskell-cafe] transparent parallelization

2007-09-18 Thread Thomas Schilling
On Tue, 2007-09-18 at 18:13 +0200, Thomas Girod wrote: Hi there. Beeing rather new to the realm of Haskell and functional programming, I've been reading about how is easier it is to parallelize code in a purely functional language (am I right saying that ?). My knowledge of parallelization

Re: [Haskell-cafe] Monad.Reader 8: Haskell, the new C++

2007-09-13 Thread Thomas Schilling
On Fri, 2007-09-14 at 10:42 +1200, ok wrote: I wrote: Since not all Turing machines halt, and since the halting problem is undecidable, this means not only that some Haskell programs will make the type checker loop forever, but that there is no possible meta- checker that could warn us

Re: [Haskell-cafe] haskell on llvm?

2007-09-13 Thread Thomas Schilling
On Thu, 2007-09-13 at 15:58 -0700, Don Stewart wrote: clawsie: has anyone ever considered using llvm as a infrastructure for haskell compilation? it wold seem people are looking at building frontends for scheme, ocaml, etc. i don't know if an alternate backend is appropriate, but it would

Re: [Haskell-cafe] haskell on llvm?

2007-09-13 Thread Thomas Schilling
On Thu, 2007-09-13 at 15:55 -0700, brad clawsie wrote: has anyone ever considered using llvm as a infrastructure for haskell compilation? it wold seem people are looking at building frontends for scheme, ocaml, etc. i don't know if an alternate backend is appropriate, but it would seem to be

Re: [Haskell-cafe] Data.Binary Endianness

2007-09-10 Thread Thomas Schilling
On Mon, 2007-09-10 at 11:10 +0100, Jules Bean wrote: The docs are not as well interlinked as you might hope. In fact, the docs on hackage are interlinked nicely. That is, for packages for which the documentation builds. ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Data.Binary Endianness

2007-09-10 Thread Thomas Schilling
On Mon, 2007-09-10 at 16:17 +0100, Jules Bean wrote: Thomas Schilling wrote: On Mon, 2007-09-10 at 11:10 +0100, Jules Bean wrote: The docs are not as well interlinked as you might hope. In fact, the docs on hackage are interlinked nicely. That is, for packages for which

Re: [Haskell-cafe] Data.Binary Endianness

2007-09-10 Thread Thomas Schilling
On Mon, 2007-09-10 at 18:11 +0200, Sven Panne wrote: On Monday 10 September 2007 17:17, Jules Bean wrote: On the documentation page: http://www.cse.unsw.edu.au/~dons/binary/Data-Binary.html [...] Just a small hint: That page seems to be out of date compared to:

Re: [Haskell-cafe] Data.Binary Endianness

2007-09-10 Thread Thomas Schilling
On Mon, 2007-09-10 at 18:40 +0200, Sven Panne wrote: Type classes might be used to get a slightly smaller API, but I am unsure about the performance impact and how much this would really buy us in terms of the ease of use of the API. There shouldn't be any problem w.r.t. performance, the

Re: [Haskell-cafe] Haddock/hscolour integration broken on Hackage?

2007-09-10 Thread Thomas Schilling
On Mon, 2007-09-10 at 14:11 -0400, David Menendez wrote: I was looking at the Data.Binary documentation[1] on Hackage, and I've noticed some problems with the associated source listings[2]. First, none of the Source links work. They all refer to fragment IDs (e.g., #Binary) that are not

Re: [Haskell-cafe] Tiny documentation request

2007-09-10 Thread Thomas Schilling
On Mon, 2007-09-10 at 20:28 +0100, Ian Lynagh wrote: Would it be better to have a separate page with a package index, containing the description of each package and a link to each of the modules that it provides? +1 ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Tiny documentation request

2007-09-10 Thread Thomas Schilling
On Mon, 2007-09-10 at 19:51 +0100, Andrew Coppin wrote: Brent Yorgey wrote: And if you use Firefox, you can even install Hoogle as one of the search engines in the upper-right search box. Nice and fast! I've never really understood what the benefit of this is... I mean, Google make the

Re: [Haskell-cafe] is there a way to patch the build-depends line of a cabal file without breaking backwards compatibility?

2007-08-20 Thread Thomas Schilling
On 20 aug 2007, at 18.37, Thomas Hartman wrote: cafe, is there a way to patch the build-depends line of a cabal file without breaking backwards compatibility? I just patched HDBC head to compile under ghc 6.7. Unfortunately it now won't compile in 6.6.1. is there a way for

Re: [Haskell-cafe] is there a way to patch the build-depends line of a cabal file without breaking backwards compatibility?

2007-08-20 Thread Thomas Schilling
On 20 aug 2007, at 20.58, Thomas Hartman wrote: Take a look at the Cabal.cabal file, how this is solved, atm. where is this, how can I take a look at it? http://darcs.haskell.org/cabal/Cabal.cabal See below for a little more explaination. The next release of Cabal (and the current

<    1   2   3   4   >