[GHC] #2356: GHC accepts multiple instances for the same type in different modules

2008-06-10 Thread GHC
#2356: GHC accepts multiple instances for the same type in different modules +--- Reporter: claus| Owner: Type: bug | Status: new Priority: normal | Component:

Re: [GHC] #2337: Data.Array documentation utterly broken

2008-06-10 Thread GHC
#2337: Data.Array documentation utterly broken ---+ Reporter: japple | Owner: Type: bug| Status: new Priority: normal | Milestone: 6.10.1 Component:

Re: [GHC] #2356: GHC accepts multiple instances for the same type in different modules

2008-06-10 Thread GHC
#2356: GHC accepts multiple instances for the same type in different modules -+-- Reporter: claus |Owner: Type: bug | Status: new Priority: normal|Milestone:

Re: [GHC] #1880: Unify flag descriptions to generate both docs and code

2008-06-10 Thread GHC
#1880: Unify flag descriptions to generate both docs and code --+- Reporter: simonmar | Owner: Type: task | Status: new Priority: normal| Milestone: 6.10 branch

Re: [GHC] #2337: Data.Array documentation utterly broken

2008-06-10 Thread GHC
#2337: Data.Array documentation utterly broken ---+ Reporter: japple | Owner: Type: bug| Status: new Priority: normal | Milestone: 6.10.1 Component:

Re: [GHC] #1880: Unify flag descriptions to generate both docs and code

2008-06-10 Thread GHC
#1880: Unify flag descriptions to generate both docs and code --+- Reporter: simonmar | Owner: Type: task | Status: new Priority: normal| Milestone: 6.10 branch

Re: [GHC] #1315: System.Process.runInteractiveProcess needs a way to pipe just some handles

2008-06-10 Thread GHC
#1315: System.Process.runInteractiveProcess needs a way to pipe just some handles ---+ Reporter: simonmar | Owner: Type: task | Status: closed

Re: [GHC] #1558: make the testsuite work with THREADS=2

2008-06-10 Thread GHC
#1558: make the testsuite work with THREADS=2 +--- Reporter: simonmar| Owner: Type: bug | Status: new Priority: high| Milestone: 6.10 branch Component:

Re: [GHC] #1604: Coarse-grained recompilation checking

2008-06-10 Thread GHC
#1604: Coarse-grained recompilation checking --+- Reporter: simonmar | Owner: Type: task | Status: closed Priority: normal| Milestone: 6.10 branch Component:

Re: [GHC] #1876: Complete shared library support

2008-06-10 Thread GHC
#1876: Complete shared library support --+- Reporter: simonmar | Owner: Type: task | Status: new Priority: high | Milestone: 6.10 branch Component: Compiler |

[GHC] #2357: Implement the Haskell' proposal for polymorphic pattern bindings

2008-06-10 Thread GHC
#2357: Implement the Haskell' proposal for polymorphic pattern bindings +--- Reporter: simonmar | Owner: Type: task | Status: new Priority: normal

Re: [GHC] #2187: Top-level bindings are broken for polymorphic values

2008-06-10 Thread GHC
#2187: Top-level bindings are broken for polymorphic values --+- Reporter: yallop| Owner: Type: bug | Status: closed Priority: normal| Milestone: 6.10 branch

Rebuilding ghc

2008-06-10 Thread Dominic Steinitz
I've built ghc previously and I assumed to keep it up to date I just did darcs pull followed by make but I got errors and according to the rebuilding instructions http://hackage.haskell.org/trac/ghc/wiki/Building/Rebuilding I shouldn't have done that. I therefore followed the instructions but

Re: Rebuilding ghc

2008-06-10 Thread Tim Chevalier
On 6/10/08, Dominic Steinitz [EMAIL PROTECTED] wrote: I've built ghc previously and I assumed to keep it up to date I just did darcs pull followed by make but I got errors and according to the rebuilding instructions http://hackage.haskell.org/trac/ghc/wiki/Building/Rebuilding I

Re: Rebuilding ghc

2008-06-10 Thread Judah Jacobson
On Tue, Jun 10, 2008 at 1:39 PM, Dominic Steinitz [EMAIL PROTECTED] wrote: I've built ghc previously and I assumed to keep it up to date I just did darcs pull followed by make but I got errors and according to the rebuilding instructions

Re: [Haskell] A problem with overlapping instances and super-classes

2008-06-10 Thread Ian Lynagh
On Mon, Jun 09, 2008 at 09:21:02AM +0100, Simon Peyton-Jones wrote: This isn't great, but it's not really different than is the case for non-overlapping instances. Suppose module B1 declares 'instance C T', and uses that instance; and module B2 declares a *different* 'instance C T', and

[Haskell] DEFUN08: Final Call for Talks Tutorials (deadline: June 27)

2008-06-10 Thread Matthew Fluet (ICFP Publicity Chair)
Final Call for Talks and Tutorials ACM SIGPLAN 2008 Developer Tracks on Functional Programming http://www.deinprogramm.de/defun-2008/ Victoria, BC, Canada, 25, 27 September, 2008 The workshop will be held in conjunction with ICFP 2008.

Re: [Haskell] A problem with overlapping instances and super-classes

2008-06-10 Thread Claus Reinke
Yes indeed, this is one of those well-known (ie not at all well known, but folk lore) problems with overlapping instances, at least in programs where different instances can be in scope at different times. I think these examples are subtly different (eg, some trip up Hugs as well, some only

Re: [Haskell-cafe] FunPtr error?

2008-06-10 Thread Galchin, Vasili
I have tried various things to no avail [EMAIL PROTECTED]:~/FTP/Haskell/unix-2.2.0.0/tests/timer$ runhaskell Setup.lhs build Preprocessing executables for Test-1.0... Building Test-1.0... [1 of 1] Compiling Main ( ./timer.hs, dist/build/timer/timer-tmp/Main.o ) ./timer.hs:22:0:

Re: [Haskell-cafe] Design your modules for qualified import

2008-06-10 Thread Jules Bean
Ketil Malde wrote: And - is there a way to make GHCi use aliased qualification? I find my self typing detailed taxonomies all the time there. For Haskell', I would relly like to have good, generic classes/interfaces for this, so that a) code becomes readable (including import lists), and b)

[Haskell-cafe] DEFUN08: Final Call for Talks Tutorials (deadline: June 27)

2008-06-10 Thread Matthew Fluet (ICFP Publicity Chair)
Final Call for Talks and Tutorials ACM SIGPLAN 2008 Developer Tracks on Functional Programming http://www.deinprogramm.de/defun-2008/ Victoria, BC, Canada, 25, 27 September, 2008 The workshop will be held in conjunction with ICFP 2008.

Re: [Haskell-cafe] Unable to hc-build ghc 6.6.1

2008-06-10 Thread Ian Lynagh
On Mon, Jun 09, 2008 at 01:48:48PM -0400, Re, Joseph (IT) wrote: I'm trying to do a registered hc-build on linux2.4 x86 with ghc 6.6.1. You're likely to find it easier to bootstrap by installing a bindist onto the machine, unless that is impossible for some reason. GenApply.o(.text+0x13a55):

RE: [Haskell-cafe] Unable to hc-build ghc 6.6.1

2008-06-10 Thread Re, Joseph (IT)
From: Ian Lynagh [mailto:[EMAIL PROTECTED] You're likely to find it easier to bootstrap by installing a bindist onto the machine, unless that is impossible for some reason. Unfortunately it is due to policy. GenApply.o(.text+0x13a55): In function `s5cr_info': : undefined reference to

Re: [Haskell-cafe] Moving forall over type constructors

2008-06-10 Thread Roberto Zunino
Sean Leather wrote: inside :: ((forall a. W (t a))- W (forall a. (t a))) --inside (W x) = W x -- (a) FAILS --inside = W . unW -- (b) FAILS inside x = W (unW x) -- (c) WORKS Are there any pointers for developing a better understanding or intuition of this? Usually, making type arguments

Re: [Haskell-cafe] Moving forall over type constructors

2008-06-10 Thread Derek Elkins
On Tue, 2008-06-10 at 18:12 +0200, Roberto Zunino wrote: Sean Leather wrote: inside :: ((forall a. W (t a))- W (forall a. (t a))) --inside (W x) = W x -- (a) FAILS --inside = W . unW -- (b) FAILS inside x = W (unW x) -- (c) WORKS Are there any pointers for developing a better

Re: [Haskell-cafe] FunPtr error?

2008-06-10 Thread Ryan Ingram
I'm not super experienced with the FFI (foreign function interface); I only used C types that you can get from #include HsFFI.h, like Word32. You might need to make Sigval an instance of Storable, or do some magic with ForeignPtrs. Good luck! :) -- ryan On 6/9/08, Galchin, Vasili [EMAIL

Re: [Haskell-cafe] FunPtr error?

2008-06-10 Thread Ryan Ingram
Also, if you always plan to partially apply your notification function and you just want a simple callback: void (*pCallbackFn)(void); You should be able to do something like this: type Callback = IO () foreign import ccall wrapper mkCallback :: Callback - IO (FunPtr Callback) You can then

Re: [Haskell-cafe] Moving forall over type constructors

2008-06-10 Thread Ryan Ingram
On 6/10/08, Derek Elkins [EMAIL PROTECTED] wrote: This is the lack of impredicativity. W :: a - W a To get the result type W (forall a. t a), W must instantiate the a in W's type to (forall a. t a). Further we then pass it to (.) which has type (b - c) - (a - b) - a - c and thus require

RE: [Haskell-cafe] Unable to hc-build ghc 6.6.1

2008-06-10 Thread Re, Joseph (IT)
-Original Message- From: Ian Lynagh [mailto:[EMAIL PROTECTED] Nothing comes to mind. Were the libraries rebuilt after building GenApply on the machine on which the hc files were generated? Nope. After building the hc tarball with a new copy of ghc 6.6.1 on the host machine, I

[Haskell-cafe] lhs syntax highlighting in vim

2008-06-10 Thread Eric Stansifer
Hello, The syntax highlighting file for literate haskell in vim says that its maintainer is haskell-cafe@haskell.org, so hopefully one of you will find this relevant. In literate haskell files, vim optionally highlights the non-code text according to TeX markup. The syntax highlighting file

Re: [Haskell-cafe] Moving forall over type constructors

2008-06-10 Thread Derek Elkins
On Tue, 2008-06-10 at 11:28 -0700, Ryan Ingram wrote: On 6/10/08, Derek Elkins [EMAIL PROTECTED] wrote: This is the lack of impredicativity. W :: a - W a To get the result type W (forall a. t a), W must instantiate the a in W's type to (forall a. t a). Further we then pass it to (.)

[Haskell-cafe] blas: ghc-6.8.2: unable to load package `blas-0.4'

2008-06-10 Thread Anatoly Yakovenko
Patric, I am trying to use your blas package, but I am getting a missing symbol error. import Data.Matrix.Dense.IO mm::(IOMatrix (Int,Int) Double) - newListMatrix (1,1) [1.0] Loading package storable-complex-0.1 ... linking ... done. Loading package ieee-0.1 ... linking ... done. Loading

Re: [Haskell-cafe] blas: ghc-6.8.2: unable to load package `blas-0.4'

2008-06-10 Thread Don Stewart
aeyakovenko: Patric, I am trying to use your blas package, but I am getting a missing symbol error. import Data.Matrix.Dense.IO mm::(IOMatrix (Int,Int) Double) - newListMatrix (1,1) [1.0] Loading package storable-complex-0.1 ... linking ... done. Loading package ieee-0.1 ... linking

Re: [Haskell-cafe] blas: ghc-6.8.2: unable to load package `blas-0.4'

2008-06-10 Thread Anatoly Yakovenko
/usr/lib/blas-0.4/ghc-6.8.2/HSblas-0.4.o: unknown symbol `cblas_ddot' ghc-6.8.2: unable to load package `blas-0.4' any ideas what i am missing? Missing -lcblas perhaps? The C library isn't being found. $ ll /usr/lib/libcblas.* lrwxrwxrwx 1 root root 25 Jun 10 20:57 /usr/lib/libcblas.a -

Re: [Haskell-cafe] blas: ghc-6.8.2: unable to load package `blas-0.4'

2008-06-10 Thread Anatoly Yakovenko
nevermind, i am a little slow today. ghci -lcblas ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] wanted: Network.Curl examples

2008-06-10 Thread brad clawsie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 in search of some trivial examples using Network.Curl, preferrably posted here: http://haskell.org/haskellwiki/Network.Curl some of this stuff i can figure out, but setting the curl WriteFunction, as discussed here: