Re: [GHC] #3215: Valgrind support

2009-05-16 Thread GHC
#3215: Valgrind support -+-- Reporter: cmcq | Owner: Type: feature request | Status: reopened Priority: normal | Milestone: Component: Runtime System

[GHC] #3235: ghci-6.10.3 can't be built with readline support

2009-05-16 Thread GHC
#3235: ghci-6.10.3 can't be built with readline support -+-- Reporter: guest | Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #3235: ghci-6.10.3 can't be built with readline support

2009-05-16 Thread GHC
#3235: ghci-6.10.3 can't be built with readline support --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal|

[GHC] #3236: Would be nice if rts_lock (or similar) would fail when the RTS is not started

2009-05-16 Thread GHC
#3236: Would be nice if rts_lock (or similar) would fail when the RTS is not started -+-- Reporter: duncan| Owner: Type: feature request | Status: new

Re: [GHC] #3235: ghci-6.10.3 can't be built with readline support

2009-05-16 Thread GHC
#3235: ghci-6.10.3 can't be built with readline support --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #3233: Cleaning on Windows currently fails

2009-05-16 Thread GHC
#3233: Cleaning on Windows currently fails -+-- Reporter: igloo |Owner: Type: bug | Status: closed Priority: high |

Re: [GHC] #2689: make maintainer-clean leaves generated files and directories

2009-05-16 Thread GHC
#2689: make maintainer-clean leaves generated files and directories -+-- Reporter: claus |Owner: Type: bug | Status: closed Priority:

[GHC] #3237: Target binary-dist fails when building GHC with DPH

2009-05-16 Thread GHC
#3237: Target binary-dist fails when building GHC with DPH -+-- Reporter: scsibug | Owner: Type: bug | Status: new Priority: normal|

[GHC] #3238: CInt FFI exports do not use C int in _stub.h header file

2009-05-16 Thread GHC
#3238: CInt FFI exports do not use C int in _stub.h header file -+-- Reporter: duncan| Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #3157: ghci segmentation fault when computation is interrupted

2009-05-16 Thread GHC
#3157: ghci segmentation fault when computation is interrupted ---+ Reporter: fft1976 |Owner: Type: bug | Status: reopened Priority: normal |

Re: --out-implib when linking shared libraries

2009-05-16 Thread Neil Mitchell
I've just built a Haskell dll on Windows. As part of the process it generated an 14Mb foo.dll, and a 40Mb foo.dll.a. Looking at the flags passed to ld I see --out-implib=foo.dll.a. What is the purpose of the .a file? What might it be needed for? Is it possible to suppress it? It looks like

Re: --out-implib when linking shared libraries

2009-05-16 Thread Duncan Coutts
On Sat, 2009-05-16 at 11:07 +0100, Neil Mitchell wrote: I don't, although having that option wouldn't be a bad thing - having a minimal .lib is perfectly reasonable as a default. Having a massive .lib seems crazy. (The fact that .lib is named .dll.a isn't too much of an issue) It's possible

Re: --out-implib when linking shared libraries

2009-05-16 Thread Krasimir Angelov
I remember that the .dll.a libraries that GCC produces are not always compatible with MSVC. Sometimes it works if you rename them to .lib but sometimes it doesn't. It is much more realiable to create .lib from .def file via some of the MS tools. If GCC can link dynamic libraries without using the

possible alternative to libFFI

2009-05-16 Thread Bulat Ziganshin
Hello glasgow-haskell-users, http://www.nongnu.org/cinvoke/faq.html -- Best regards, Bulat mailto:bulat.zigans...@gmail.com ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: possible alternative to libFFI

2009-05-16 Thread Duncan Coutts
On Sat, 2009-05-16 at 22:31 +0400, Bulat Ziganshin wrote: Hello glasgow-haskell-users, http://www.nongnu.org/cinvoke/faq.html From the page: How does C/Invoke compare to libFFI? At the C API level they're pretty similar, aside from some minor quibbles. libFFI

[Haskell] Programming in Haskell -- solutions to exercises

2009-05-16 Thread Graham Hutton
Dear all, For info, solutions to the exercises from Programming in Haskell are now available online, from: http://www.cs.nott.ac.uk/~gmh/book.html Best wishes, Graham +-+ | Dr Graham Hutton Email :

[Haskell] ANNOUNCE: OpenGL 2.2.3.0

2009-05-16 Thread Sven Panne
A new version of the OpenGL package has bee uploaded to Hackage. This is a feature release, containing the following changes and additions: * Added support for GL_ARB_copy_buffer, GL_ARB_depth_buffer_float, GL_ARB_half_float_pixel, GL_ARB_texture_rectangle, GL_EXT_packed_float and

[Haskell] Haskell Weekly News: Issue 118 - May 16, 2009

2009-05-16 Thread Brent Yorgey
--- Haskell Weekly News http://sequence.complete.org/hwn/20090516 Issue 118 - May 16, 2009 --- Welcome to issue 118 of HWN, a newsletter covering

Re: [Haskell-cafe] Data.FiniteMap deprecrated

2009-05-16 Thread Don Stewart
Data.Map in the containers library. vigalchin: Hello, http://hackage.haskell.org/cgi-bin/hackage-scripts/package/FiniteMap ... since this is deprecated what is the orthodox way to implement finite map?? Thanks, Vasili ___

[Haskell-cafe] help :type class?

2009-05-16 Thread yu yang
Does anyone have an idea how to use an instance to list all the functions of type? Thank you!  ___ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/___ Haskell-Cafe mailing list

Re: [Haskell-cafe] help :type class?

2009-05-16 Thread Eugene Kirpichov
How about hoogle? 2009/5/16 yu yang er.9...@yahoo.com.cn: Does anyone have an idea how to use an instance to list all the functions of type? Thank you! 好玩贺卡等你发,邮箱贺卡全新上线! ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] help :type class?

2009-05-16 Thread Jason Dagit
On Fri, May 15, 2009 at 11:10 PM, yu yang er.9...@yahoo.com.cn wrote: Does anyone have an idea how to use an instance to list all the functions of type? Thank you! Perhaps :i sometype inside of ghci? Jason ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] conflicting variable definitions in pattern

2009-05-16 Thread Conor McBride
On 16 May 2009, at 03:54, wren ng thornton wrote: Conor McBride wrote: Rumblings about funny termination behaviour, equality for functions, and the complexity of unification (which isn't the proposal anyway) But unification is what you get by adding non-linearity. Hang on a minute: we're

Re: [Haskell-cafe] Data.Binary and little endian encoding

2009-05-16 Thread Khudyakov Alexey
On Friday 15 May 2009 06:52:29 David Leimbach wrote: I actually need little endian encoding... wondering if anyone else hit this with Data.Binary. (because I'm working with Bell Lab's 9P protocol which does encode things on the network in little-endian order). Anyone got some tricks for this?

[Haskell-cafe] GUIs, FRP, (Delimited) Continuations and Zippers

2009-05-16 Thread GüŸnther Schmidt
Hi all, In my app, there is one part which has a rather complicated GUI logic, it involves n drop downs with n choices each. Whenever the current selection in one of the drop downs changes by user interaction, the other (n-1) drop downs need to be notified and their item list need to

Re: [Haskell-cafe] Decoupling OpenAL/ALUT packages from OpenGL

2009-05-16 Thread Sven Panne
Am Montag, 11. Mai 2009 12:04:07 schrieb Neil Brown: [...] So possible additions to your type-class list are Foldable and maybe Traversable (no harm, although I'd have to reach further for an example for this). I guess the tricky decision might be whether to provide a Num instance (again,

Re: [Haskell-cafe] Building 'text-icu-0.1' on Windows

2009-05-16 Thread Alexander Dunlap
On Thu, May 14, 2009 at 10:25 AM, Bryan O'Sullivan b...@serpentine.com wrote: On Thu, May 14, 2009 at 10:18 AM, Bryan O'Sullivan b...@serpentine.com wrote: If one of you has the time to dig into this and send a patch that corrects the problem, I'd welcome the help. As I'm sure you can tell, I

[Haskell-cafe] typeclasses comprehension problems: situation classes?

2009-05-16 Thread Belka
Hello, cafe visitors! I'm trying to learn Haskell typeclasses, - about how to use them, - but can't handle some conceptiual problems, which confuses me a lot. I took one real problem (ErrorInfo gragual gathering), to tackle it in my studies: I have a class of situations: there is an object, and

Re: [Haskell-cafe] typeclasses comprehension problems: situation classes?

2009-05-16 Thread Bulat Ziganshin
Hello Belka, Saturday, May 16, 2009, 9:22:54 PM, you wrote: I'm trying to learn Haskell typeclasses, - about how to use them, - but am i correctly understood that you've started learning type classes with multi-parameter ones? this may be a bit too brave, especially for a woman :D i suggest

Re: [Haskell-cafe] Foldable for BNFC generated tree

2009-05-16 Thread Johan Jeuring
Hi Deniz, Deniz Dogan wrote: So, basically I'd like some sort of folding functionality for these data types, without having to hack the lexer/parser myself (parameterising the data types), because as I said they're being generated by BNFC. What exactly do you mean by folding functionality?

[Haskell-cafe] Graphs and graph algorithms?

2009-05-16 Thread Cory Knapp
Hey, Besides fgl, are there any graph libraries in Haskell that are still maintained? Are there other papers (or books) besides Erwig's that I could use to understand how graph algorithms have been implemented in functional languages? Has anything even been published on the topic since

Re: [Haskell-cafe] typeclasses comprehension problems: situation classes?

2009-05-16 Thread Magnus Therning
Bulat Ziganshin wrote: Hello Belka, Saturday, May 16, 2009, 9:22:54 PM, you wrote: I'm trying to learn Haskell typeclasses, - about how to use them, - but am i correctly understood that you've started learning type classes with multi-parameter ones? this may be a bit too brave, especially

Re: [Haskell-cafe] Graphs and graph algorithms?

2009-05-16 Thread Don Stewart
thestonetable: Hey, Besides fgl, are there any graph libraries in Haskell that are still maintained? Are there other papers (or books) besides Erwig's that I could use to understand how graph algorithms have been implemented in functional languages? Has anything even been published on

Re: [Haskell-cafe] Graphs and graph algorithms?

2009-05-16 Thread Tracy Wadleigh
We don't seem to have a binding to any of the foreign language libs for very large graphs. Do you know of any stand-out libraries in this regard worth binding? When I looked in to this last year, the best I could find was the boost library. It depends very heavily on template

[Haskell-cafe] Request for feedback: HaskellDB + HList

2009-05-16 Thread Brian Bloniarz
, I think. Feedback welcome! You can find my darcs tree at: http://mysite.verizon.net/vzewxzuh/sitebuildercontent/sitebuilderfiles/haskelldb-hlist-20090516.tar.gz It also requires minor changes to HList, available at: http://mysite.verizon.net/vzewxzuh/sitebuildercontent/sitebuilderfiles

[Haskell-cafe] Linkage errors in scenegraph

2009-05-16 Thread Gregory D. Weber
I'd like to get the scenegraph package (http://hackage.haskell.org/cgi-bin/hackage-scripts/package/scenegraph) to work, but am encountering linkage errors. I installed scenegraph 0.1.0.1 for ghc-6.10.1 on Fedora 10 Linux. # runghc Setup configure --prefix=/opt # runghc Setup build # runghc Setup

Re: [Haskell-cafe] Data.FiniteMap deprecrated

2009-05-16 Thread Vasili I. Galchin
Yevgeni, I am specifying base as a Cabal dependency ... dumb question ... I have forgotten whether I need to import Data.Map also? Vasili On Sat, May 16, 2009 at 1:05 AM, Eugene Kirpichov ekirpic...@gmail.comwrote: It's Data.Map. It's in the base package. 2009/5/16 Vasili I. Galchin

Re: [Haskell-cafe] Data.FiniteMap deprecrated

2009-05-16 Thread Alexander Dunlap
You need to include the containers package in your cabal file. Alex On Sat, May 16, 2009 at 4:44 PM, Vasili I. Galchin vigalc...@gmail.com wrote: Yevgeni, I am specifying base as a Cabal dependency ...  dumb question ... I have forgotten whether I need to import Data.Map also? Vasili

Re: [Haskell-cafe] Data.FiniteMap deprecrated

2009-05-16 Thread Vasili I. Galchin
yeah I do ghc can't find the Map constructor .. also in another module Parsec is being used ... I have parsec as a dependecy in my cabal file and I also have an import Text.Parsec but ghc could not find module Text.Parsec. ??? Thanks, Vasili On Sat, May 16, 2009 at 6:57 PM,

Re: [Haskell-cafe] Data.FiniteMap deprecrated

2009-05-16 Thread Alexander Dunlap
You need to import Data.Map in any file you use Map in. Which version of Parsec are you using? Versions before 3.0.0 do not have a module called Text.Parsec, the module is Text.ParserCombinators.Parsec (or something like that). Alex On Sat, May 16, 2009 at 5:03 PM, Vasili I. Galchin

[Haskell-cafe] Haskell Weekly News: Issue 118 - May 16, 2009

2009-05-16 Thread Brent Yorgey
--- Haskell Weekly News http://sequence.complete.org/hwn/20090516 Issue 118 - May 16, 2009 --- Welcome to issue 118 of HWN, a newsletter covering