Re: [Haskell-cafe] Syntax for lambda case proposal could be \of

2007-08-16 Thread Thomas Schilling
On 16 aug 2007, at 13.46, Bertram Felgenhauer wrote: Duncan Coutts wrote: On Wed, 2007-08-15 at 11:06 -0700, Stefan O'Rear wrote: foo = getSomethingCPS $ \ arg - moreStuff is now a syntax error (\ { varid - } matches no productions). I'm not sure I follow. The patterns would have

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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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: 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] 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: [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] 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] 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] 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-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] Cabal and LLVM bindings

2010-03-11 Thread Thomas Schilling
Do you happen to use template haskell? It looks like the interpreter is trying to load llvm, which is currently not supported. That doesn't explain why it works with ghc --make though. Do you do anything special in your .cabal file? On 11 March 2010 12:30, Ville Tirronen alea...@gmail.com

Re: [Haskell-cafe] OT: the format checker for ICFP 2010 papers, help!

2010-04-01 Thread Thomas Schilling
Do you perhaps have some text that run into the margins? If I have references of the form Longname~\emph{et~al.}~\cite{foobar} Latex does not know how to split this up the text extends into the margins. A similar problem might occur for verbatim sections. I submitted a paper based on the

Re: [Haskell-cafe] Re: GSOC Haskell Project

2010-04-01 Thread Thomas Schilling
The DrScheme debugger shows backtraces as arrows in the source code. It took some getting used to, but it doesn't seem like a bad idea. I believe Leksah has some sort of graphical frontend for the GHCi debugger, but I haven't tried it out myself yet. Maybe you can build on top of that. Stack

Re: [Haskell-cafe] Re: GSOC Haskell Project

2010-04-01 Thread Thomas Schilling
, but at least it gives you *some* information about where your head [] error is coming from! For those interested, there is more discussion of the idea at http://hackage.haskell.org/trac/ghc/ticket/3693 Cheers, Max On 1 April 2010 18:22, Thomas Schilling nomin...@googlemail.com wrote

Re: [Haskell-cafe] Immix GC as a Soc proposal

2010-04-01 Thread Thomas Schilling
In my opinion the project would be worthwhile even if it's not in the Top 8. Mentors vote on the accepted projects based both on the priority of the project and the applying student, so it's probably not a bad idea to apply for other projects as well so you don't put all your stakes on just a

Re: [Haskell-cafe] Haskell.org re-design

2010-04-02 Thread Thomas Schilling
How about something more colourful? http://i.imgur.com/7jCPq.png The Get Haskell box should of course be a shiny button. A shadow separating the content box from the background would probably also be a good idea. But the main point is: less dull colours, and the important links should go at

Re: [Haskell-cafe] Re: Haskellers hate GUIs!!

2010-04-02 Thread Thomas Schilling
On 2 April 2010 20:15, Brandon S. Allbery KF8NH allb...@ece.cmu.edu wrote: On Apr 2, 2010, at 10:41 , David Leimbach wrote: Having said that, are there any plans to make it really easy to get gtk2hs working on Mac OS X? It's in MacPorts. But that's the variant using X11, no? There now is a

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-06 Thread Thomas Schilling
to move away much further from the current wiki-like and somewhat dull design. On 6 April 2010 10:36, Johan Tibell johan.tib...@gmail.com wrote: On Tue, Apr 6, 2010 at 5:24 AM, Simon Michael si...@joyful.com wrote: On 4/2/10 5:28 AM, Thomas Schilling wrote: How about something more colourful

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-06 Thread Thomas Schilling
with attractive combinations? On Tue, Apr 6, 2010 at 9:58 AM, Thomas Schilling nomin...@googlemail.com wrote: Well, they make the wannabe-designer mistake of using justified text in HTML, even worse, for columns just 3 words wide. The overall layout, is pretty nice though.  It's essentially the standard

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-06 Thread Thomas Schilling
Another attempt: http://i.imgur.com/ENvl7.png On 6 April 2010 10:36, Johan Tibell johan.tib...@gmail.com wrote: On Tue, Apr 6, 2010 at 5:24 AM, Simon Michael si...@joyful.com wrote: On 4/2/10 5:28 AM, Thomas Schilling wrote: How about something more colourful? http://i.imgur.com/7jCPq.png

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-06 Thread Thomas Schilling
almost prefer sticking to the current design for consistency's sake. On 6 April 2010 20:11, Thomas Schilling nomin...@googlemail.com wrote: Another attempt:  http://i.imgur.com/ENvl7.png On 6 April 2010 10:36, Johan Tibell johan.tib...@gmail.com wrote: On Tue, Apr 6, 2010 at 5:24 AM, Simon

Re: [Haskell-cafe] Why does Haskell not infer most general type?

2010-04-06 Thread Thomas Schilling
Yes, it has to do with mutually recursive bindings. If you add a type signature, you break the mutual recursion. Mutually recursive functions are type-checked together and then generalised. Similarly, polymorphic recursion cannot be inferred either, but is possible by adding a type signature.

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-06 Thread Thomas Schilling
On 6 April 2010 22:39, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Thomas Schilling nomin...@googlemail.com writes: Another attempt:  http://i.imgur.com/ENvl7.png I like the layout, but hate the colour scheme. Wow, hate is a very strong word. In any case, though, I'm pretty sure

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-06 Thread Thomas Schilling
On 7 April 2010 00:57, Ivan Miljenovic ivan.miljeno...@gmail.com wrote: On 7 April 2010 08:40, Thomas Schilling nomin...@googlemail.com wrote: On 6 April 2010 22:39, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: I like the layout, but hate the colour scheme. Wow, hate is a very

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-06 Thread Thomas Schilling
probably also have the description text creep into the left margin so that it isn't exactly centered over the left column below, if that would look better. Cheers, Greg On Apr 6, 2010, at 5:16 PM, Ivan Miljenovic wrote: On 7 April 2010 10:02, Thomas Schilling nomin...@googlemail.com wrote

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-06 Thread Thomas Schilling
over the side (i.e., having whitespace directly below it and to the right of the main text)?  If anything, I think that it would look better for the bottom text to extend further right than the box at the top than vice versa. Cheers, Greg On Apr 6, 2010, at 5:49 PM, Thomas Schilling wrote

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-07 Thread Thomas Schilling
Yup, I have to agree. The Ruby web site certainly is the best web site for a programming language that I've come across, but it's certainly not amazing. I like the python documentation design, but their home page is a bit dull. Anyway, here's another variation, this time with more colour:

Re: [Haskell-cafe] Re: Haskell.org re-design

2010-04-07 Thread Thomas Schilling
), or by putting a translucent box around the text so that we can still see the background but it's faded a bit so that the text still shows up. Cheers, Greg On Apr 7, 2010, at 9:53 AM, Thomas Schilling wrote: Yup, I have to agree.  The Ruby web site certainly is the best web site for a programming

Re: [Haskell-cafe] Difficulties installing LLVM bindings

2010-04-09 Thread Thomas Schilling
Bryan said a while ago that Manuel Chakravarty had some Mac related patches for LLVM, don't know if they have been integrated yet. On 9 April 2010 23:11, Max Bolingbroke batterseapo...@hotmail.com wrote: On 9 April 2010 18:38, Aran Donohue aran.dono...@gmail.com wrote: Hi Haskell-Cafe, I can't

Re: [Haskell-cafe] ghc #defines

2010-04-14 Thread Thomas Schilling
__NHC__ is defined when the code is compiled with the nhc98 compiler [1]. Similarly Hugs is another Haskell implementation. [1]: http://www.haskell.org/nhc98/ On 14 April 2010 11:36, gladst...@gladstein.com wrote: I may need to put some #ifdef conditionalizations into some cross-platform

Re: [Haskell-cafe] GHC Api typechecking

2010-04-18 Thread Thomas Schilling
Looking at the code for GHC, it turns out that your use case is not supported. It is not allowed to have in-memory-only files. If you specify a buffer it will still try to find the module file on the disk, but it will (or at least should) use the contents from the specified string buffer. I've

Re: [Haskell-cafe] Haskell (wiki) Logo license

2010-04-23 Thread Thomas Schilling
It was posted to the Wiki, IIUC. Anything posted to the wiki is implicitly licensed by the wiki license: http://haskell.org/haskellwiki/HaskellWiki:Copyrights On 23 April 2010 07:10, Jens Petersen peter...@haskell.org wrote: Hi, We use the Haskell Logo in Fedora OS installer for the Haskell

[Haskell-cafe] Re: Is anyone using Haddock's support for frames?

2010-05-04 Thread Thomas Schilling
I think it will no longer be needed once Haddock outputs table-less layout code. Frames caused problems with the back-button, so they weren't really an improvement. A simple CSS float:right + smaller font on the div containing the index would be a lot better. I think it would be best to keep

[Haskell-cafe] Re: Is anyone using Haddock's support for frames?

2010-05-05 Thread Thomas Schilling
Ok, I think I should clarify. I believe that the framed view with a long list of modules on the left and the haddocks on the right is still useful. What I don't mind getting rid off is the third frame which shows the contents of the mini_* files. I would have preferred to have something similar

Re: [Haskell-cafe] GHC 6.12 on OS X 10.5

2010-05-08 Thread Thomas Schilling
Building from source alone didn't help, but building from source together with the following extra lines to .cabal/config worked: extra-lib-dirs: /usr/lib extra-lib-dirs: /opt/local/lib This is not an ideal solution because this means that any OS X library will shadow the corresponding Macports

Re: [Haskell-cafe] ghc api renamed source

2010-05-12 Thread Thomas Schilling
The difficulty is that renamer and type-checker are mutually recursive because of Template Haskell. I've been looking into this a while ago and I have a basic idea how a better API could look like, but I haven't sorted out the details. One very hacky workaround -- and I'm not sure whether it can

Re: [Haskell-cafe] executeFile failing on macosx

2010-05-16 Thread Thomas Schilling
Works fine on 10.6.3. If you run with +RTS -N2, though, you'll get forking not supported with +RTS -Nn greater than 1 The reason for this is that forking won't copy over the threads which means that the Haskell IO manager stops working (you'd have to somehow reinitialise the RTS while leaving

Re: [Haskell-cafe] making the GHC Api not write to stderr

2010-05-21 Thread Thomas Schilling
You could try changing the log_action[1] member of the DynFlags. A while ago I turned most printed errors into some form of error message, but I wouldn't be surprised if I missed some places. All output should go through log_action, though, so try changing that to intercept any output. [1]:

Re: [Haskell-cafe] Performance Issue

2010-05-22 Thread Thomas Schilling
On 22 May 2010 16:06, Daniel Fischer daniel.is.fisc...@web.de wrote: On Saturday 22 May 2010 16:48:27, Daniel Fischer wrote: The boxing is due to the use of (^). If you write x*x instead of x^2, it can use the primop *## and needn't box it. As a side effect, the original time leak probably

Re: [Haskell-cafe] Why Either = Left | Right instead of something like Result = Success | Failure

2010-05-27 Thread Thomas Schilling
It's indeed arbitrary. Other common names are Inl and Inr (presumably standing for inject left/right). Some Haskell project do indeed use a more specific name. The advantage of using the generic Left/Right is reusability of library code. The particular name of the datatype and its constructors

Re: [Haskell-cafe] Docs on the current and future constraint solver?

2010-07-14 Thread Thomas Schilling
The latest work is OutsideIn(X): http://www.haskell.org/haskellwiki/Simonpj/Talk:OutsideIn This is quite long paper. It describes a framework for constraint-based type inference and then instantiates it with a constraint solver that supports type families, GADTs and type classes.

Re: [Haskell-cafe] Hot-Swap with Haskell

2010-07-16 Thread Thomas Schilling
What would be the semantics of hot-swapping? For, example, somewhere in memory you have a thunk of expression e. Now the user wants to upgrade e to e'. Would you require all thunks to be modified? A similar problem occurs with stack frames. You'd also have to make sure that e and e' have the

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-16 Thread Thomas Schilling
the site wiki upgraded and to what version will it be? If we're looking at another couple of weeks I'll come up with a new wiki template this weekend to replace the current one.    For haskell.org? Thomas Schilling and Ian Lynagh are working on that    (CC'd). Regarding the Haskell Platform, maybe

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-17 Thread Thomas Schilling
Haters gonna hate. The new wiki will have a user preference to switch back to the default monobook style. You can always do that if you want. It doesn't work fully, yet, but that's on my ToDo list. On 17 July 2010 11:53, Andrew Coppin andrewcop...@btinternet.com wrote: Thomas Schilling wrote

Re: [Haskell-cafe] Design for 2010.2.x series Haskell Platform site

2010-07-17 Thread Thomas Schilling
(and probably shoud be). / Thomas On 17 July 2010 13:31, Christopher Done chrisd...@googlemail.com wrote: On 17 July 2010 13:37, Andrew Coppin andrewcop...@btinternet.com wrote: Thomas Schilling wrote: Haters gonna hate. Well, I don't *hate* it. It just looks a little muddy, that's all. I

Re: [Haskell-cafe] hsb2hs preprocessor looking for a maintainer

2010-08-04 Thread Thomas Schilling
On 4 August 2010 12:05, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Max Bolingbroke batterseapo...@hotmail.com writes: On 4 August 2010 11:39, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Joachim Breitner m...@joachim-breitner.de writes: the problem is that Template

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-04 Thread Thomas Schilling
On 4 August 2010 10:11, Magnus Therning mag...@therning.org wrote: On Wed, Aug 4, 2010 at 06:00, Mark Lentczner ma...@glyphic.com wrote: The Haddock team has spent the last few months revamping the look of the generated output. We're pretty close to done, but we'd like to get the community's

Re: [Haskell-cafe] Preview the new haddock look and take a short survey

2010-08-04 Thread Thomas Schilling
On 4 August 2010 15:44, aditya siram aditya.si...@gmail.com wrote: I really like the color scheme and the Javadoc looking frames. One suggestion I can make is to have the index show all the functions with type signatures without having to pick a letter. A lot of times I'll be looking for a

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] 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] 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] 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] 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] 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-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] 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] 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] ..

  1   2   3   >