Re: [GHC] #2702: having build issues with ghc 6.6.1

2008-10-20 Thread GHC
#2702: having build issues with ghc 6.6.1 --+- Reporter: wnyrodeo | Owner: Type: bug | Status: closed Priority: normal| Milestone: Component: Compiler |

Re: [GHC] #2697: bad testsuite results with ghc-6.10.0.20081007

2008-10-20 Thread GHC
#2697: bad testsuite results with ghc-6.10.0.20081007 --+- Reporter: maeder| Owner: Type: bug | Status: new Priority: high |

Re: [GHC] #2707: GHCi reports exitWith ExitSuccess as an exception

2008-10-20 Thread GHC
#2707: GHCi reports exitWith ExitSuccess as an exception --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #2705: ghc discards version of wired-in packages

2008-10-20 Thread GHC
#2705: ghc discards version of wired-in packages --+- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #2707: GHCi reports exitWith ExitSuccess as an exception

2008-10-20 Thread GHC
#2707: GHCi reports exitWith ExitSuccess as an exception --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #2703: Buffer overflow, occasional segfaults when using handles created by Network.

2008-10-20 Thread GHC
#2703: Buffer overflow, occasional segfaults when using handles created by Network. ---+ Reporter: sclv | Owner: simonmar Type: bug| Status: new

Re: [GHC] #2693: Type Synonym Family Panic in GHC 6.10.0.20081007

2008-10-20 Thread GHC
#2693: Type Synonym Family Panic in GHC 6.10.0.20081007 --+- Reporter: BenMoseley| Owner: chak Type: bug | Status: new Priority: normal| Milestone:

Re: [GHC] #2628: hIsTerminalDevice returns True for /dev/null (aka NUL) on Windows

2008-10-20 Thread GHC
#2628: hIsTerminalDevice returns True for /dev/null (aka NUL) on Windows +--- Reporter: igloo | Owner: Type: bug | Status: new Priority: normal |

Re: [GHC] #2705: ghc discards version of wired-in packages

2008-10-20 Thread GHC
#2705: ghc discards version of wired-in packages --+- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #2707: GHCi reports exitWith ExitSuccess as an exception

2008-10-20 Thread GHC
#2707: GHCi reports exitWith ExitSuccess as an exception --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #2703: Buffer overflow, occasional segfaults when using handles created by Network.

2008-10-20 Thread GHC
#2703: Buffer overflow, occasional segfaults when using handles created by Network. ---+ Reporter: sclv | Owner: igloo Type: merge | Status: new

[GHC] #2712: Parallel GC scheduling problems

2008-10-20 Thread GHC
#2712: Parallel GC scheduling problems -+-- Reporter: simonmar | Owner: simonmar Type: run-time performance bug | Status: new Priority: high

Re: [GHC] #2707: GHCi reports exitWith ExitSuccess as an exception

2008-10-20 Thread GHC
#2707: GHCi reports exitWith ExitSuccess as an exception --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal|

[GHC] #2713: Fixities interact badly with TH under GHC 6.10.1 20081007

2008-10-20 Thread GHC
#2713: Fixities interact badly with TH under GHC 6.10.1 20081007 -+-- Reporter: BenMoseley| Owner: Type: bug | Status: new Priority: normal

[GHC] #2714: No match in record selector Var.tcTyVarDetails

2008-10-20 Thread GHC
#2714: No match in record selector Var.tcTyVarDetails -+-- Reporter: morrow| Owner: Type: bug | Status: new

[GHC] #2715: GHC panic

2008-10-20 Thread GHC
#2715: GHC panic -+-- Reporter: rodprice | Owner: Type: bug | Status: new Priority: normal| Component: Compiler Version: 6.10.1|Severity: normal

Re: [GHC] #2708: Error message should suggest UnboxedTuples language extension

2008-10-20 Thread GHC
#2708: Error message should suggest UnboxedTuples language extension ---+ Reporter: tim| Owner: Type: feature request| Status: new Priority: low

Re: [GHC] #2715: GHC panic

2008-10-20 Thread GHC
#2715: GHC panic --+- Reporter: rodprice | Owner: Type: bug | Status: new Priority: normal| Milestone: Component: Compiler |Version: 6.10.1

[GHC] #2716: ghci uses an enormous amount of memory (recent 6.10 snapshots)

2008-10-20 Thread GHC
#2716: ghci uses an enormous amount of memory (recent 6.10 snapshots) ---+ Reporter: ravi| Owner: Type: bug | Status: new Priority: normal |

Re: [GHC] #2688: GHC 6.10.0.20081007 hangs instead of giving error about missing type class constraint

2008-10-20 Thread GHC
#2688: GHC 6.10.0.20081007 hangs instead of giving error about missing type class constraint --+- Reporter: PVerswyvelen | Owner: chak Type: bug | Status: closed

Re: GHC 6.10 confusion

2008-10-20 Thread Simon Marlow
This should actually be fixed in more recent snapshots. If it isn't, please let me know. Cheers, Simon J. Garrett Morris wrote: My hero! This resolved my problem. /g On Fri, Oct 17, 2008 at 8:38 AM, Mitchell, Neil [EMAIL PROTECTED] wrote: Hi See:

cabal

2008-10-20 Thread Christian Maeder
Hi, currently I've got a problem installing from hackage. using: GHC (package manager) version 6.10.0.20081019 cabal-install version 0.6.0 using version 1.6.0.1 of the Cabal library I get: Building network-2.2.0.0... Network/URI.hs:128:7: Could not find module `Data.Generics':

cabal

2008-10-20 Thread Christian Maeder
Hi, currently I've got a problem installing from hackage. using: GHC (package manager) version 6.10.0.20081019 cabal-install version 0.6.0 using version 1.6.0.1 of the Cabal library I get: Building network-2.2.0.0... Network/URI.hs:128:7: Could not find module `Data.Generics':

Building ghc-6.10 with ghc-6.6.1

2008-10-20 Thread Bertram Felgenhauer
Hi, I've successfully built ghc-6.10 with ghc-6.6.1; there was one minor problem: Building extensible-exceptions-0.1.0.0... Control/Exception/Extensible.hs:2:13: cannot parse LANGUAGE pragma ghc 6.6.1 does not know about DeriveDataTypeable - I just removed that line. Software used:

Re: cabal

2008-10-20 Thread Duncan Coutts
On Mon, 2008-10-20 at 16:28 +0200, Christian Maeder wrote: Hi, currently I've got a problem installing from hackage. using: GHC (package manager) version 6.10.0.20081019 cabal-install version 0.6.0 using version 1.6.0.1 of the Cabal library I get: Building network-2.2.0.0...

Re: thread/socket behvior

2008-10-20 Thread Jeff Polakow
Hello, Just writing to let people know the resolution of this problem... After much frustration and toil, we realized there was a bug in GHC's handle abstraction over sockets. We resolved our immediate problem by having our code deal directly with the sockets, and we filed a bug

Re: cabal

2008-10-20 Thread Claus Reinke
The basic problem here is that the version number of the network package has not been bumped. .. .. Of course that's not true here because the package has changed without the version being bumped. .. Indeed the only reason it's trying to rebuild it at all is because the installed version has

Re: cabal

2008-10-20 Thread Duncan Coutts
On Mon, 2008-10-20 at 20:20 +0100, Claus Reinke wrote: The basic problem here is that the version number of the network package has not been bumped. .. .. Of course that's not true here because the package has changed without the version being bumped. .. Indeed the only reason it's

Instrumenting overlapping instances

2008-10-20 Thread J. Garrett Morris
Hello, I'm currently studying the use of overlapping instances, and I was hoping to instrument GHC to produce some variety of list of instances that overlapped. I haven't done any GHC hacking so far, so I'm not entirely familiar with the code base. Does anyone have any guidance on which modules

Re: Instrumenting overlapping instances

2008-10-20 Thread Claus Reinke
I'm currently studying the use of overlapping instances, and I was hoping to instrument GHC to produce some variety of list of instances that overlapped. I haven't done any GHC hacking so far, so I'm not entirely familiar with the code base. Does anyone have any guidance on which modules I

Re: [Haskell] Probably a trivial thing for people knowing Haskell

2008-10-20 Thread Chris Eidhof
I think it might be more appropriate to move this discussion to haskell-cafe. On 19 okt 2008, at 17:24, Friedrich wrote: Learn to love types: one of the neat things about Haskell is that if you can write down the type of a function then you have usually done 90% of the work of writing the

[Haskell] Re: Probably a trivial thing for people knowing

2008-10-20 Thread John Lato
Friedrich wrote: Brandon S. Allbery KF8NH [EMAIL PROTECTED] writes: On 2008 Oct 19, at 2:26, Friedrich wrote: Paul Johnson [EMAIL PROTECTED] writes: (By the way, putting in the top level type declarations helps a lot when you make a mistake.) Well I have my problems with that. Probably it

[Haskell] Functional programming job opening

2008-10-20 Thread Simon Peyton-Jones
Folks Looking for a job in functional programming. Here's one (at Microsoft): http://members.microsoft.com/careers/search/details.aspx?JobID=E29D3886-A152-4D95-873D-8890EFB683ADstart=1interval=10SortCol=DatePosted We are seeking an experienced software development engineer who has mastered

Re: [Haskell] Probably a trivial thing for people knowing Haskell

2008-10-20 Thread Udo Stenzel
Friedrich wrote: Ok to be more concrete is the laziness hidden here? check_line line sum count = let match = matchRegex regexp line in case match of Just strs - (sum + read (head strs) :: Integer, count + 1) Nothing - (sum, count) Yes, part of

Re: [Haskell] Probably a trivial thing for people knowing Haskell

2008-10-20 Thread Udo Stenzel
Friedrich wrote: Taral [EMAIL PROTECTED] writes: Wow, talk about doing everything by hand. :) There are a lot of utility functions that make your life easier. Try this: Given a strict pair, it should work: import Control.Monad import Data.Char import Data.List import

Re: [Haskell] Probably a trivial thing for people knowing Haskell

2008-10-20 Thread Friedrich
Thanks, I just figured out that I run out of file descriptors with reading them all at once. But I probably can try the countDownloads function. We'll see how that works. Regards Friedrich ___ Haskell mailing list Haskell@haskell.org

Re: [Haskell-cafe] A heretic question

2008-10-20 Thread Colin Paul Adams
Achim == Achim Schneider [EMAIL PROTECTED] writes: Achim What kind of things, barring coding on Haskell-less Achim platforms and library interfaces would you choose to do in Achim C++? Nothing. Eiffel every time. -- Colin Adams Preston Lancashire

[Haskell-cafe] Re: [Haskell] Probably a trivial thing for people knowing Haskell

2008-10-20 Thread Chris Eidhof
I think it might be more appropriate to move this discussion to haskell-cafe. On 19 okt 2008, at 17:24, Friedrich wrote: Learn to love types: one of the neat things about Haskell is that if you can write down the type of a function then you have usually done 90% of the work of writing the

Re: [Haskell-cafe] Re: [Haskell] Probably a trivial thing for people knowing Haskell

2008-10-20 Thread Jason Dagit
On Sun, Oct 19, 2008 at 11:39 PM, Chris Eidhof [EMAIL PROTECTED] wrote: I think it might be more appropriate to move this discussion to haskell-cafe. On 19 okt 2008, at 17:24, Friedrich wrote: Learn to love types: one of the neat things about Haskell is that if you can write down the type

[Haskell-cafe] Re: File handles and pipes

2008-10-20 Thread Matti Niemenmaa
Matti Niemenmaa wrote: Brandon S. Allbery KF8NH wrote: Pipes are perhaps a bit misnamed: if you want to combine the output of two pipes and funnel it into a third you can't simply plumb them together, you need to provide code which reads from the output pipes and writes into the input pipe.

RE: [Haskell-cafe] Re: Is there already an abstraction for this?

2008-10-20 Thread Mitchell, Neil
Hi Larry, There is already an abstraction for this, its called transform, and it resides in the Uniplate library: http://www-users.cs.york.ac.uk/~ndm/uniplate/ I have no idea what it is, or if it exists in the algebra library! Thanks Neil -Original Message- From: [EMAIL PROTECTED]

[Haskell-cafe] Haskell syntax inside QuasiQuote

2008-10-20 Thread Reiner Pope
Hi, I have written a toy fixed-length-vector quasiquoter, so that you can write [$vec|1,2|] which has its type inferred as (Vec (S (S Z))) and you can write mkVec :: Double - Vec (S (S (S Z))) mkVec x = [$vec|1,2,x|] However, these above examples essentially demonstrate the entire syntax it

[Haskell-cafe] Verifying a list of properties using QuickCheck

2008-10-20 Thread Thomas van Noort
Hi, I would like to verify a list of properties using QuickCheck. Of course, I can test a single property using: quickCheck :: Testable prop = prop - IO () Then, I can check a list of properties my mapping this function over a list: quickCheckL :: Testable prop = [prop] - IO () quickCheckL

[Haskell-cafe] Re: [Haskell] Probably a trivial thing for people knowing Haskell

2008-10-20 Thread Achim Schneider
Jason Dagit [EMAIL PROTECTED] wrote: Something I have noticed about myself now that I can think in types to some degree is that reading the documentation for apis in non-typeful languages, I'll pick on python, is now harder! Well, something I have noticed is a definitive lack of documentation

[Haskell-cafe] Re: A heretic question

2008-10-20 Thread Mauricio
What kind of things do you prefer? Databases, science, math, web? At first, make sure you have Bjarne Stroustrup book (very important: last edition). If there's anything good in C++, it's there. Look also at his homepage: http://www.research.att.com/~bs/homepage.html Bjarne is the guy who

[Haskell-cafe] Plans for new System.Process?

2008-10-20 Thread Stephen Hicks
Hi, I've been trying out the new System.Process and have found it to be very useful. I was wondering what the plans for it were - I'd rather not give up support for older versions of ghc just because I want to use createProcess. Are there plans of releasing process-1.0.1 so that it's compatible

[Haskell-cafe] ghc error: requested module name differs from name found in interface file

2008-10-20 Thread Larry Evans
With a file containing: module Main where import Array import Control.Functor.Fix I get: make ghc -i/root/.cabal/lib/category-extras-0.53.5/ghc-6.8.2 -c catamorphism.example.hs catamorphism.example.hs:19:0: Bad interface file:

[Haskell-cafe] code generation

2008-10-20 Thread z ghost
hello, im interested in using haskell to generate code and make little AI applications for fun.. is anyone already doing this sort of thing? it would be fun to collaborate with people on this. Here's some code as an example of the direction i'd like to go in. It builds up template haskell

[Haskell-cafe] daemon process

2008-10-20 Thread Rouan van Dalen
Hi Everyone. I have been learning Haskell the past few months and there are tons of things I still don't understand :) I would like to write a very very simple haskell daemon that disconnects itself from the terminal and sists in the background doing something. What is the easiest way to go

Re: [Haskell-cafe] File handles and pipes

2008-10-20 Thread Thomas Hartman
Hackage has the pipe library and the shell-pipe library. The package page for shell-pipe says it's probably to use system.Process now, but pipe was recently hackagized, by another person on this thread actually, I believe (Matti). Once you solve this problem, perhaps your solution could be

[Haskell-cafe] Re: ghc error: requested module name differs from name found in interface file

2008-10-20 Thread Larry Evans
On 10/20/08 12:33, Larry Evans wrote: With a file containing: module Main where import Array import Control.Functor.Fix I get: make ghc -i/root/.cabal/lib/category-extras-0.53.5/ghc-6.8.2 -c catamorphism.example.hs catamorphism.example.hs:19:0: Bad interface file:

[Haskell-cafe] external linking traumas

2008-10-20 Thread Chris Dornan
Hi Folks, I am battling Database.HSQL to get it to work on GHC-6.8.3 running Cygwin/XP and I seem to have found a worthy opponent. I have got the following to work: import Database.HSQL import Database.HSQL.MySQL main :: IO () main = do c - cnct

Re: [Haskell-cafe] Build without install, using cabal

2008-10-20 Thread Stephen Hicks
On Mon, Oct 20, 2008 at 3:04 PM, Mauricio [EMAIL PROTECTED] wrote: I would like to include a few source files as 'executable' sections in a .cabal package description. However, although I do want to use main=mainDefault features, I do not want those packages to be installed when I run

[Haskell-cafe] Re: A heretic question

2008-10-20 Thread Benjamin L . Russell
On Sun, 19 Oct 2008 23:08:06 +0200, Achim Schneider [EMAIL PROTECTED] wrote: What kind of things, barring coding on Haskell-less platforms and library interfaces would you choose to do in C++? I'm asking 'cos I'm learning C++ and can't get the proper motivation to do any program I can think of

[Haskell-cafe] Re: A heretic question

2008-10-20 Thread Benjamin L . Russell
On Sun, 19 Oct 2008 20:50:45 -0400, [EMAIL PROTECTED] wrote: The trouble is that C++ is a tool that's hard to use well. But that's why they pay us the big bucks, right? Interesting argument. At first I thought that the following uncensored interview with Bjarne Stroustrup was a joke, but your

[Haskell-cafe] need help making sense of the relative indexing

2008-10-20 Thread Daryoush Mehrtash
I am trying to make sense of the relative indexing example used in this Charting Patterns on Price history paper: http://serv1.ist.psu.edu:8080/viewdoc/download;jsessionid=CC3DEF7277760C535FE3AB7C51A2BE90?doi=10.1.1.21.6892rep=rep1type=pdf In Section 3 it defines: type Indicator a = Bar →

Re: [Haskell-cafe] Build without install, using cabal

2008-10-20 Thread Corey O'Connor
I think, though I haven't tried this, that you can replace the instHooks with one that: 1. filters out the private executables from the PackageDescription 2. Provides this new PackageDescription to the standard instHook. Which I would think is the instHook of the UserHooks parameter passed to

Re: [Haskell-cafe] daemon process

2008-10-20 Thread Brandon S. Allbery KF8NH
On 2008 Oct 20, at 15:42, Rouan van Dalen wrote: I would like to write a very very simple haskell daemon that disconnects itself from the terminal and sists in the background doing something. What is the easiest way to go about this. I have tried several things but can't seem to get the

Re: [Haskell-cafe] Haskell syntax inside QuasiQuote

2008-10-20 Thread Matt Morrow
Is there a simple way to do this, i.e. using existing libraries? Yes indeed. I'll be traveling over the next two days, and am shooting for a fully functional hackage release by mid next week. What I need is a Haskell expression parser which outputs values of type

Re: [Haskell-cafe] Re: A heretic question

2008-10-20 Thread ajb
G'day aoll. Quoting Benjamin L.Russell [EMAIL PROTECTED]: Interesting argument. At first I thought that the following uncensored interview with Bjarne Stroustrup was a joke, but your argument makes it seem all the more plausible: That's not quite what I meant. What I meant is that Visual